Android.Net.Sip.SipManager.Unregister Method
Manually unregisters the profile from the corresponding SIP provider for stop receiving further calls.

Syntax

[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 (SipProfile localProfile, ISipRegistrationListener listener)

Parameters

localProfile
the SIP profile to register with
listener
to listen to the registration events

Exceptions

TypeReason
Android.Net.Sip.SipExceptionif 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.

[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