aca479888a
In order to write an equivalent tutorial for Xamarin, I am first following the UWP tutorial. Fixed many little spelling mistakes and rephrased some sentences. Fixed a crash when video is requested but the device has no camera. Fixed a crash when opening an audio recording. (Linphone.Content.FilePath returns a path with mixed '/' and '\'. I don't know why and I'm not sure I understand why the file was auto-downloaded either) |
||
---|---|---|
.. | ||
Assets | ||
Properties | ||
Service | ||
Views | ||
04_BasicChat.csproj | ||
App.xaml | ||
App.xaml.cs | ||
Package.appxmanifest | ||
Readme.md |
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 messages.
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 keep references to pages currently displayed.
│
└───Views :
│ │
│ │ ChatPage.xaml(.cs) : This is the frame displayed when you select a chat room.
│ │ For now it's a basic page where you can send messages and see your
│ │ conversation history.
│ │
│ │ ChatsPage.xaml(.cs) : In this page we list all the existing chat rooms. When you select
│ │ one of them a ChatPage is rendered. You can also create new ChatRoom here.
│ │
│ │ NavigationRoot.xaml(.cs) : The navigation page, you can now navigate to the ChatsPage !