linphone-tutorials/uwp/cs/04_BasicChat/Readme.md

30 lines
1.4 KiB
Markdown
Raw Permalink Normal View History

2020-12-11 00:20:19 +08: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 messages.
2020-12-11 00:20:19 +08:00
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.
2020-12-11 00:20:19 +08:00
└───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
2020-12-11 00:20:19 +08:00
│ │ 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.
2020-12-11 00:20:19 +08:00
│ │
│ │ NavigationRoot.xaml(.cs) : The navigation page, you can now navigate to the ChatsPage !
2020-12-11 00:20:19 +08:00
```