SipManager.Unregister(SipProfile, ISipRegistrationListener) 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.
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.
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.