Freigeben über


SipManager.CreateSipSession(SipProfile, SipSession+Listener) Method

Definition

Creates a SipSession with the specified profile.

[Android.Runtime.Register("createSipSession", "(Landroid/net/sip/SipProfile;Landroid/net/sip/SipSession$Listener;)Landroid/net/sip/SipSession;", "GetCreateSipSession_Landroid_net_sip_SipProfile_Landroid_net_sip_SipSession_Listener_Handler")]
public virtual Android.Net.Sip.SipSession? CreateSipSession (Android.Net.Sip.SipProfile? localProfile, Android.Net.Sip.SipSession.Listener? listener);
[<Android.Runtime.Register("createSipSession", "(Landroid/net/sip/SipProfile;Landroid/net/sip/SipSession$Listener;)Landroid/net/sip/SipSession;", "GetCreateSipSession_Landroid_net_sip_SipProfile_Landroid_net_sip_SipSession_Listener_Handler")>]
abstract member CreateSipSession : Android.Net.Sip.SipProfile * Android.Net.Sip.SipSession.Listener -> Android.Net.Sip.SipSession
override this.CreateSipSession : Android.Net.Sip.SipProfile * Android.Net.Sip.SipSession.Listener -> Android.Net.Sip.SipSession

Parameters

localProfile
SipProfile

the SIP profile the session is associated with

listener
SipSession.Listener

to listen to SIP session events

Returns

Attributes

Exceptions

Remarks

Java documentation for android.net.sip.SipManager.createSipSession(android.net.sip.SipProfile, android.net.sip.Listener).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to