Språk

PhoneNumberSource Enum

Definition

Identifies where a subscription's phone number was obtained.

public enum PhoneNumberSource
type PhoneNumberSource = 
Inheritance
PhoneNumberSource

Fields

Name Value Description
Uicc 1

A source of phone number: the EF-MSISDN (see 3GPP TS 31.102), or EF-MDN for CDMA (see 3GPP2 C.P0065-B), from UICC application. The availability and accuracy of the number depends on the carrier. The number may be updated by over-the-air update to UICC applications from the carrier, or by other means with physical access to the SIM.

Android reference for android.telephony.SubscriptionManager.PHONE_NUMBER_SOURCE_UICC.

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.

Carrier 2

A phone number provided by an app that has carrier privileges. A carrier app can set the correct number if, for example, it differs from the number in the UICC. The number is not available until a carrier app sets it with SetCarrierPhoneNumber(Int32, String). The app can use the same method to update the number if it changes.

Android reference 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.

Ims 3

A source of phone number: provided by IMS (IP Multimedia Subsystem) implementation. When IMS service is registered (as indicated by OnRegistered(ImsRegistrationAttributes)) the IMS implementation may return P-Associated-Uri SIP headers (RFC 3455). The URIs are the user’s public user identities known to the network (see 3GPP TS 24.229 5.4.1.2), and the phone number is typically one of them (see “global number” in 3GPP TS 23.003 13.4). This source provides the phone number from the last IMS registration. IMS registration may happen on every device reboot or other network condition changes. The number will be updated should the associated URI change after an IMS registration.

Android reference for android.telephony.SubscriptionManager.PHONE_NUMBER_SOURCE_IMS.

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.

Ts43 4

A source of phone number: provided by the Entitlement Server using the GSMA TS.43 standard.

This source is used to retrieve the phone number (MSISDN) from the Entitlement Configuration Server as defined in GSMA TS.43.

Note: Access to this source is restricted to privileged system components (e.g., Settings) or carrier privileged apps.

Android reference for android.telephony.SubscriptionManager.PHONE_NUMBER_SOURCE_TS43.

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.

Remarks

Sources include the UICC, a carrier application, the IMS implementation, and an Entitlement Configuration Server.

Applies to