Condividi tramite


SipManager.Unregister(SipProfile, ISipRegistrationListener) Method

Definition

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")]
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")>]
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

Manually unregisters the profile from the corresponding SIP provider for stop receiving further calls. This may interference with the auto registration process in the SIP service if the auto-registration option in the profile is enabled.

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