SipManager.Register(SipProfile, Int32, ISipRegistrationListener) Method

Definition

Caution

deprecated

Manually registers the profile to the corresponding SIP provider for receiving calls.

[Android.Runtime.Register("register", "(Landroid/net/sip/SipProfile;ILandroid/net/sip/SipRegistrationListener;)V", "GetRegister_Landroid_net_sip_SipProfile_ILandroid_net_sip_SipRegistrationListener_Handler")]
[System.Obsolete("deprecated")]
public virtual void Register (Android.Net.Sip.SipProfile? localProfile, int expiryTime, Android.Net.Sip.ISipRegistrationListener? listener);
[<Android.Runtime.Register("register", "(Landroid/net/sip/SipProfile;ILandroid/net/sip/SipRegistrationListener;)V", "GetRegister_Landroid_net_sip_SipProfile_ILandroid_net_sip_SipRegistrationListener_Handler")>]
[<System.Obsolete("deprecated")>]
abstract member Register : Android.Net.Sip.SipProfile * int * Android.Net.Sip.ISipRegistrationListener -> unit
override this.Register : Android.Net.Sip.SipProfile * int * Android.Net.Sip.ISipRegistrationListener -> unit

Parameters

localProfile
SipProfile

the SIP profile to register with

expiryTime
Int32

registration expiration time (in seconds)

listener
ISipRegistrationListener

to listen to the registration events

Attributes

Exceptions

if calling the SIP service results in an error

Remarks

Java documentation for android.net.sip.SipManager.register(android.net.sip.SipProfile, int, 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