TelecomManager.IsVoiceMailNumber(PhoneAccountHandle, String) 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.
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.
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.