Język

PhoneNumberSource Enum

Definition

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

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 RegistrationManager.RegistrationCallback.onRegistered(int) ) 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.

Applies to