You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
linphone-tutorials/uwp/cs/02_IncomingCall
Anthony Gauchy 29f4bbef5c
Tutorial for LinphoneSDK x UWP - C#
3 years ago
..
Assets Tutorial for LinphoneSDK x UWP - C# 3 years ago
Properties Tutorial for LinphoneSDK x UWP - C# 3 years ago
Service Tutorial for LinphoneSDK x UWP - C# 3 years ago
Views Tutorial for LinphoneSDK x UWP - C# 3 years ago
02_IncomingCall.csproj Tutorial for LinphoneSDK x UWP - C# 3 years ago
App.xaml Tutorial for LinphoneSDK x UWP - C# 3 years ago
App.xaml.cs Tutorial for LinphoneSDK x UWP - C# 3 years ago
Package.appxmanifest Tutorial for LinphoneSDK x UWP - C# 3 years ago
Readme.md Tutorial for LinphoneSDK x UWP - C# 3 years ago

Readme.md

Linphone X UWP tutorial 02_IncomingCall

This time we are going to receive our first calls !

Because the architecture of the first two tutorials were a bit too simple for a larger app we moved things a bit. All the code about the core (creation, iterate, log in...) is now in the class Service/CoreService.

The page LoginPage is updated and now redirects to a new page (NavigationRoot) this page only contains a NavigationView. If you are note familiar with NavigationView you can take a look at the NavigationView doc, but this is not mandatory since it contains no Linphone code and is only here for navigation.

By default the NavigationView load the new page CallsPage (the only one for now), on this page you can answer or decline incoming calls.

If you don't have SIP friends to make tests we recommend you to install Linphone on your mobile device (Android or iOS) and to make calls to yourself.

Don't forget to install those NuGet packages :

New/updated files :

02_outgoing_call
│
│   Package.appxmanifest : For this step we added new capabilities : Microphone, VOIP calling
│   
└───Service :
│   │   CoreService.cs : A singleton service which contains the Linphone.Core. 
│   │               You can find here all the previous tutorial code and the new code 
│   │               for calls !
│   │
│
│
└───Views :
│   │   CallsPage.xaml(.cs) : This is the new page where you can make calls.
│   │               This is where you will find the new Linphone's uses.
│   │       
│   │   LoginPage.xaml(.cs) : The same login page as the previous step, now in his own file.
│   │
│   │   NavigationRoot.xaml(.cs) : The new page containing the NavigationView and the main app Frame.
│