SipManager.Unregister(SipProfile, ISipRegistrationListener) Method

Definition

Caution

deprecated

Manually unregisters the profile from the corresponding SIP provider for stop receiving further calls.

[Android.Runtime.Register("unregister", "(Landroid/net/sip/SipProfile;Landroid/net/sip/SipRegistrationListener;)V", "GetUnregister_Landroid_net_sip_SipProfile_Landroid_net_sip_SipRegistrationListener_Handler")]
[System.Obsolete("deprecated")]
public virtual void Unregister (Android.Net.Sip.SipProfile? localProfile, Android.Net.Sip.ISipRegistrationListener? listener);
[<Android.Runtime.Register("unregister", "(Landroid/net/sip/SipProfile;Landroid/net/sip/SipRegistrationListener;)V", "GetUnregister_Landroid_net_sip_SipProfile_Landroid_net_sip_SipRegistrationListener_Handler")>]
[<System.Obsolete("deprecated")>]
abstract member Unregister : Android.Net.Sip.SipProfile * Android.Net.Sip.ISipRegistrationListener -> unit
override this.Unregister : Android.Net.Sip.SipProfile * Android.Net.Sip.ISipRegistrationListener -> unit

Parameters

localProfile
SipProfile

the SIP profile to register with

listener
ISipRegistrationListener

to listen to the registration events

Attributes

Exceptions

if calling the SIP service results in an error

Remarks

Java documentation for android.net.sip.SipManager.unregister(android.net.sip.SipProfile, android.net.sip.SipRegistrationListener).

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