Android.Net.Sip.SipManager.Register Method
Manually registers the profile to the corresponding SIP provider for receiving calls.

Syntax

[Android.Runtime.Register("register", "(Landroid/net/sip/SipProfile;ILandroid/net/sip/SipRegistrationListener;)V", "GetRegister_Landroid_net_sip_SipProfile_ILandroid_net_sip_SipRegistrationListener_Handler")]
public virtual void Register (SipProfile localProfile, int expiryTime, ISipRegistrationListener listener)

Parameters

localProfile
the SIP profile to register with
expiryTime
registration expiration time (in seconds)
listener
to listen to the registration events

Exceptions

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

Remarks

Manually registers the profile to the corresponding SIP provider for receiving calls. SipManager.Open(SipProfile, Android.App.PendingIntent, Android.App.PendingIntent) is still needed to be called at least once in order for the SIP service to notify the caller with the Android.App.PendingIntent when an incoming call is received.

[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