linphone-tutorials/uwp/cs/04_BasicChat
2021-09-13 15:50:58 +02:00
..
Assets 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
04_BasicChat.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 04_BasicChat

Second big step in this tutorial, we can now communicate in basic chat rooms.

In this part you are going to learn how to send and receive text messages over SIP using LinphoneSDK. For our first step with ChatRoom we are going to create only one to one basic ChatRoom (no encryption, no ephemeral), and for now the tutorial app will only support text message.

Don't forget to install those NuGet packages :

New/Updated files :

04_BasicChat
└───Service :
│   │   CoreService.cs : A singleton service which contains the Linphone.Core. 
│   │               We added some code to create new chat rooms here.
│   │   
│   │   NavigationService.cs : A small service used to keeps reference to current pages displayed.
│
└───Views :
│   │    
│   │   ChatPage.xaml(.cs) : This is the frame displayed when you select a chat room.     
│   │               For now it's a simple page where you can send message and see your 
│   │               conversation history.
│   │     
│   │   ChatsPage.xaml(.cs) : In this page we list all the existing chat rooms. If you select 
│   │               one of them a ChatPage is render. You can also create new ChatRoom here.   
│   │
│   │   NavigationRoot.xaml(.cs) : The navigation page, you can now navigate the ChatsPage !