Freigeben über


SipManager.IsRegistered(String) Method

Definition

Checks if the SIP service has successfully registered the profile to the SIP provider (specified in the profile) for receiving calls.

[Android.Runtime.Register("isRegistered", "(Ljava/lang/String;)Z", "GetIsRegistered_Ljava_lang_String_Handler")]
public virtual bool IsRegistered (string? localProfileUri);
[<Android.Runtime.Register("isRegistered", "(Ljava/lang/String;)Z", "GetIsRegistered_Ljava_lang_String_Handler")>]
abstract member IsRegistered : string -> bool
override this.IsRegistered : string -> bool

Parameters

localProfileUri
String

the URI of the profile in question

Returns

true if the profile is registered to the SIP provider; false if the profile has not been opened in the SIP service or the SIP service has not yet successfully registered the profile to the SIP provider

Attributes

Exceptions

if calling the SIP service results in an error

Remarks

Checks if the SIP service has successfully registered the profile to the SIP provider (specified in the profile) for receiving calls. Returning true from this method also implies the profile is opened (#isOpened).

Java documentation for android.net.sip.SipManager.isRegistered(java.lang.String).

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