SubscriptionManager.DefaultSmsSubscriptionId Property

Definition

Returns the system's default SMS subscription id.

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

Property Value

the default SMS subscription Id.

Attributes

Remarks

Returns the system's default SMS subscription id.

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

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

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