Udostępnij za pośrednictwem


SubscriptionManager.DefaultVoiceSubscriptionId Property

Definition

Returns the system's default voice subscription id.

public static int DefaultVoiceSubscriptionId { [Android.Runtime.Register("getDefaultVoiceSubscriptionId", "()I", "", ApiSince=24)] get; }
[<get: Android.Runtime.Register("getDefaultVoiceSubscriptionId", "()I", "", ApiSince=24)>]
static member DefaultVoiceSubscriptionId : int

Property Value

the default voice subscription Id.

Attributes

Remarks

Returns the system's default voice subscription id.

On a data only device or on error, will return INVALID_SUBSCRIPTION_ID.

Java documentation for android.telephony.SubscriptionManager.getDefaultVoiceSubscriptionId().

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