SipManager.SetRegistrationListener(String, 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.
Sets the listener to listen to registration events.
[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, Android.Net.Sip.ISipRegistrationListener? listener);
[<Android.Runtime.Register("setRegistrationListener", "(Ljava/lang/String;Landroid/net/sip/SipRegistrationListener;)V", "GetSetRegistrationListener_Ljava_lang_String_Landroid_net_sip_SipRegistrationListener_Handler")>]
abstract member SetRegistrationListener : string * Android.Net.Sip.ISipRegistrationListener -> unit
override this.SetRegistrationListener : string * Android.Net.Sip.ISipRegistrationListener -> unit
Parameters
- localProfileUri
- String
the URI of the profile
- listener
- ISipRegistrationListener
to listen to registration events; can be null
- Attributes
Exceptions
if 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 #open(SipProfile, PendingIntent, 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.