Udostępnij za pośrednictwem


PhoneAccount.SubscriptionAddress Property

Definition

The raw callback number used for this PhoneAccount, as distinct from #getAddress().

public Android.Net.Uri? SubscriptionAddress { [Android.Runtime.Register("getSubscriptionAddress", "()Landroid/net/Uri;", "", ApiSince=23)] get; }
[<get: Android.Runtime.Register("getSubscriptionAddress", "()Landroid/net/Uri;", "", ApiSince=23)>]
member this.SubscriptionAddress : Android.Net.Uri

Property Value

Uri

The subscription number, suitable for display to the user.

Attributes

Remarks

The raw callback number used for this PhoneAccount, as distinct from #getAddress(). For the majority of PhoneAccounts this should be registered as null. It is used by the system for SIM-based PhoneAccount registration where android.telephony.TelephonyManager#setLine1NumberForDisplay(String, String) has been used to alter the callback number.

Java documentation for android.telecom.PhoneAccount.getSubscriptionAddress().

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