语言

SubscriptionManager.PhoneNumberSourceCarrier 字段

定义

注意

This constant will be removed in the future version. Use Android.Telephony.PhoneNumberSource enum directly instead of this field.

电话号码的来源:由具有运营商权限的应用提供。

[Android.Runtime.Register("PHONE_NUMBER_SOURCE_CARRIER", ApiSince=33)]
[System.Obsolete("This constant will be removed in the future version. Use Android.Telephony.PhoneNumberSource enum directly instead of this field.", true)]
public const Android.Telephony.PhoneNumberSource PhoneNumberSourceCarrier = 2;
[<Android.Runtime.Register("PHONE_NUMBER_SOURCE_CARRIER", ApiSince=33)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Telephony.PhoneNumberSource enum directly instead of this field.", true)>]
val mutable PhoneNumberSourceCarrier : Android.Telephony.PhoneNumberSource

字段值

Value = 2
特性

注解

电话号码的来源:由具有运营商权限的应用提供。

该号码旨在由运营商应用设置,了解正确的号码,例如,出于某种原因与号码 #PHONE_NUMBER_SOURCE_UICC UICC 不同。 在运营商应用设置一个通过 #setCarrierPhoneNumber(int, String)之前,该号码不可用。 如果数字发生更改,应用可以使用同一 API 更新数字。

Java文档android.telephony.SubscriptionManager.PHONE_NUMBER_SOURCE_CARRIER。

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于