SubscriptionManager.DefaultDataSubscriptionId Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.