Provides APIs for SIP tasks, such as initiating SIP connections, and provides access to related
SIP services.
See Also:
SipManager Members
Syntax
[Android.Runtime.Register("android/net/sip/SipManager", DoNotGenerateAcw=true)]
public class
SipManager :
Java.Lang.ObjectRemarks
Provides APIs for SIP tasks, such as initiating SIP connections, and provides access to related
SIP services. This class is the starting point for any SIP actions. You can acquire an instance
of it with SipManager.NewInstance(Android.Content.Context).
The APIs in this class allows you to:
- Create a Android.Net.Sip.SipSession to get ready for making calls or listen for incoming calls. See
SipManager.CreateSipSession(SipProfile, .Listener) and SipManager.GetSessionFor(Android.Content.Intent).
- Initiate and receive generic SIP calls or audio-only SIP calls. Generic SIP calls may
be video, audio, or other, and are initiated with SipManager.Open(SipProfile). Audio-only SIP calls
should be handled with a Android.Net.Sip.SipAudioCall, which you can acquire with SipManager.MakeAudioCall(SipProfile, Android.Net.Sip.SipProfile, Android.Net.Sip.SipProfile, Android.Net.Sip.SipProfile) and SipManager.TakeAudioCall(Android.Content.Intent, .Listener).
- Register and unregister with a SIP service provider, with
SipManager.Register(SipProfile, System.Int32, System.Int32) and SipManager.Unregister(SipProfile, Android.Net.Sip.ISipRegistrationListener).
- Verify session connectivity, with SipManager.IsOpened(string) and
SipManager.IsRegistered(string).
Note: Not all Android-powered devices support VOIP calls using
SIP. You should always call SipManager.IsVoipSupported(Android.Content.Context) to verify that the device supports VOIP calling and SipManager.IsApiSupported(Android.Content.Context) to verify that the device supports
the SIP APIs. Your application must also request the NoType:android/Manifest$permission;Href=../../../../reference/android/Manifest.permission.html#INTERNET and NoType:android/Manifest$permission;Href=../../../../reference/android/Manifest.permission.html#USE_SIP
permissions.
Developer Guides
For more information about using SIP, read the
Session Initiation Protocol
developer guide.
[Android Documentation]
Requirements
Namespace: Android.Net.Sip
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 9