TelecomManager.IsVoiceMailNumber(PhoneAccountHandle, String) 方法

定义

返回给定电话号码是否为特定电话帐户配置的语音邮件号码。

[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

参数

accountHandle
PhoneAccountHandle

要检查语音邮件号码的帐户的句柄

number
String

要查找的数字。

返回

属性

注解

返回给定电话号码是否为特定电话帐户配置的语音邮件号码。

适用于 . 的 android.telecom.TelecomManager.isVoiceMailNumber(android.telecom.PhoneAccountHandle, java.lang.String)Java 文档

本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。

适用于