Aracılığıyla paylaş


TelecomManager.IsVoiceMailNumber(PhoneAccountHandle, String) Method

Definition

Return whether a given phone number is the configured voicemail number for a particular phone account.

[Android.Runtime.Register("isVoiceMailNumber", "(Landroid/telecom/PhoneAccountHandle;Ljava/lang/String;)Z", "GetIsVoiceMailNumber_Landroid_telecom_PhoneAccountHandle_Ljava_lang_String_Handler", ApiSince=23)]
[Android.Runtime.RequiresPermission("android.permission.READ_PHONE_STATE")]
public virtual bool IsVoiceMailNumber (Android.Telecom.PhoneAccountHandle? accountHandle, string? number);
[<Android.Runtime.Register("isVoiceMailNumber", "(Landroid/telecom/PhoneAccountHandle;Ljava/lang/String;)Z", "GetIsVoiceMailNumber_Landroid_telecom_PhoneAccountHandle_Ljava_lang_String_Handler", ApiSince=23)>]
[<Android.Runtime.RequiresPermission("android.permission.READ_PHONE_STATE")>]
abstract member IsVoiceMailNumber : Android.Telecom.PhoneAccountHandle * string -> bool
override this.IsVoiceMailNumber : Android.Telecom.PhoneAccountHandle * string -> bool

Parameters

accountHandle
PhoneAccountHandle

The handle for the account to check the voicemail number against

number
String

The number to look up.

Returns

Attributes

Remarks

Return whether a given phone number is the configured voicemail number for a particular phone account.

Java documentation for android.telecom.TelecomManager.isVoiceMailNumber(android.telecom.PhoneAccountHandle, 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