Udostępnij za pośrednictwem


SubscriptionManager.DefaultDataSubscriptionId Property

Definition

Returns the system's default data subscription id.

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

Property Value

the default data subscription Id.

Attributes

Remarks

Returns the system's default data subscription id.

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

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

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