SubscriptionManager.PhoneNumberSourceCarrier Field
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.
Caution
This constant will be removed in the future version. Use Android.Telephony.PhoneNumberSource enum directly instead of this field.
A source of phone number: provided by an app that has carrier privilege.
[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
Field Value
Value = 2- Attributes
Remarks
A source of phone number: provided by an app that has carrier privilege.
The number is intended to be set by a carrier app knowing the correct number which is, for example, different from the number in #PHONE_NUMBER_SOURCE_UICC UICC
for some reason. The number is not available until a carrier app sets one via #setCarrierPhoneNumber(int, String)
. The app can update the number with the same API should the number change.
Java documentation for android.telephony.SubscriptionManager.PHONE_NUMBER_SOURCE_CARRIER
.
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.