linphone-tutorials/uwp/cs/05_FileTransfer
2021-09-13 15:50:58 +02:00
..
Assets Tutorial for LinphoneSDK x UWP - C# 2021-09-13 15:50:58 +02:00
Controls Tutorial for LinphoneSDK x UWP - C# 2021-09-13 15:50:58 +02:00
Properties Tutorial for LinphoneSDK x UWP - C# 2021-09-13 15:50:58 +02:00
Service Tutorial for LinphoneSDK x UWP - C# 2021-09-13 15:50:58 +02:00
Views Tutorial for LinphoneSDK x UWP - C# 2021-09-13 15:50:58 +02:00
05_FileTransfer.csproj Tutorial for LinphoneSDK x UWP - C# 2021-09-13 15:50:58 +02:00
App.xaml Tutorial for LinphoneSDK x UWP - C# 2021-09-13 15:50:58 +02:00
App.xaml.cs Tutorial for LinphoneSDK x UWP - C# 2021-09-13 15:50:58 +02:00
Package.appxmanifest Tutorial for LinphoneSDK x UWP - C# 2021-09-13 15:50:58 +02:00
Readme.md Tutorial for LinphoneSDK x UWP - C# 2021-09-13 15:50:58 +02:00

Linphone X UWP tutorial 05_FileTransfer

Learn how to send files over SIP using Linphone SDK.

We added a button to send file to your peer, and we improved how messages are displayed to show you more information about them and allow you to download files sent by the remote end. Most of the new Linphone usage are in Controls/MessageDisplay.xaml(.cs) and ChatPage.xaml(.cs) but don't forget to set the attribute FileTransferServer on your Core ! (see Core creation in CoreService.cs)

Don't forget to install those NuGet packages :

New/updated files :

05_FileTransfer
└───Controls :
│   │   MessageDisplay.xaml(.cs) : A user control to display chat bubbles with more
│   │               information. Learn how to handle the different types of ChatMessage here.
│   │
│
└───Service :
│   │   CoreService.cs : A singleton service which contains the Linphone.Core. 
│   │               We setup FileTransferServer during core creation now.
│
└───Views :
│   │    
│   │   ChatPage.xaml(.cs) : This is the frame displayed when you select a chat room.     
│   │               You can now send file and the message display is improved (see MessageDisplay)