Freigeben über


SubscriptionManager.PhoneNumberSourceIms Field

Definition

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 IMS (IP Multimedia Subsystem) implementation.

[Android.Runtime.Register("PHONE_NUMBER_SOURCE_IMS", 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 PhoneNumberSourceIms = 3;
[<Android.Runtime.Register("PHONE_NUMBER_SOURCE_IMS", 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 PhoneNumberSourceIms : Android.Telephony.PhoneNumberSource

Field Value

Value = 3
Attributes

Remarks

A source of phone number: provided by IMS (IP Multimedia Subsystem) implementation. When IMS service is registered (as indicated by android.telephony.ims.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.

Java documentation 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