Android.Net.Sip.SipManager.SetRegistrationListener Method
Sets the listener to listen to registration events.

Syntax

[Android.Runtime.Register("setRegistrationListener", "(Ljava/lang/String;Landroid/net/sip/SipRegistrationListener;)V", "GetSetRegistrationListener_Ljava_lang_String_Landroid_net_sip_SipRegistrationListener_Handler")]
public virtual void SetRegistrationListener (string localProfileUri, ISipRegistrationListener listener)

Parameters

localProfileUri
the URI of the profile
listener
to listen to registration events; can be null

Exceptions

TypeReason
Android.Net.Sip.SipExceptionif calling the SIP service results in an error

Remarks

Sets the listener to listen to registration events. No effect if the profile has not been opened to receive calls (see SipManager.Open(SipProfile, Android.App.PendingIntent, Android.App.PendingIntent)).

[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