SipManager.Open Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| Open(SipProfile) |
Obsolete.
Opens the profile for making generic SIP calls. |
| Open(SipProfile, PendingIntent, ISipRegistrationListener) |
Obsolete.
Opens the profile for making calls and/or receiving generic SIP calls. |
Open(SipProfile)
Caution
deprecated
Opens the profile for making generic SIP calls.
[Android.Runtime.Register("open", "(Landroid/net/sip/SipProfile;)V", "GetOpen_Landroid_net_sip_SipProfile_Handler")]
[System.Obsolete("deprecated")]
public virtual void Open (Android.Net.Sip.SipProfile? localProfile);
[<Android.Runtime.Register("open", "(Landroid/net/sip/SipProfile;)V", "GetOpen_Landroid_net_sip_SipProfile_Handler")>]
[<System.Obsolete("deprecated")>]
abstract member Open : Android.Net.Sip.SipProfile -> unit
override this.Open : Android.Net.Sip.SipProfile -> unit
Parameters
- localProfile
- SipProfile
the SIP profile to make calls from
- Attributes
Exceptions
if the profile contains incorrect settings or calling the SIP service results in an error
Remarks
Java documentation for android.net.sip.SipManager.open(android.net.sip.SipProfile).
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
Open(SipProfile, PendingIntent, ISipRegistrationListener)
Caution
deprecated
Opens the profile for making calls and/or receiving generic SIP calls.
[Android.Runtime.Register("open", "(Landroid/net/sip/SipProfile;Landroid/app/PendingIntent;Landroid/net/sip/SipRegistrationListener;)V", "GetOpen_Landroid_net_sip_SipProfile_Landroid_app_PendingIntent_Landroid_net_sip_SipRegistrationListener_Handler")]
[System.Obsolete("deprecated")]
public virtual void Open (Android.Net.Sip.SipProfile? localProfile, Android.App.PendingIntent? incomingCallPendingIntent, Android.Net.Sip.ISipRegistrationListener? listener);
[<Android.Runtime.Register("open", "(Landroid/net/sip/SipProfile;Landroid/app/PendingIntent;Landroid/net/sip/SipRegistrationListener;)V", "GetOpen_Landroid_net_sip_SipProfile_Landroid_app_PendingIntent_Landroid_net_sip_SipRegistrationListener_Handler")>]
[<System.Obsolete("deprecated")>]
abstract member Open : Android.Net.Sip.SipProfile * Android.App.PendingIntent * Android.Net.Sip.ISipRegistrationListener -> unit
override this.Open : Android.Net.Sip.SipProfile * Android.App.PendingIntent * Android.Net.Sip.ISipRegistrationListener -> unit
Parameters
- localProfile
- SipProfile
the SIP profile to receive incoming calls for
- incomingCallPendingIntent
- PendingIntent
When an incoming call is received, the
SIP service will call
PendingIntent#send(Context, int, Intent) to send back the
intent to the caller with #INCOMING_CALL_RESULT_CODE as the
result code and the intent to fill in the call ID and session
description information. It cannot be null.
- listener
- ISipRegistrationListener
to listen to registration events; can be null
- Attributes
Exceptions
if incomingCallPendingIntent is null
if the profile contains incorrect settings or calling the SIP service results in an error
Remarks
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.
See also
- GetCallId(Intent)
- GetOfferSessionDescription(Intent)
- <xref:Android.Net.Sip.SipManager.TakeAudioCall(Android.Content.Intent%2c+.Listener)>
- IsIncomingCallIntent(Intent)