SmsManager.DefaultSmsSubscriptionId Property

Definition

Get default sms subscription id.

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

Property Value

Int32

the user-defined default SMS subscription id, or the active subscription id if there's only one active subscription available, otherwise SubscriptionManager#INVALID_SUBSCRIPTION_ID.

Attributes

Remarks

Java documentation for android.telephony.SmsManager.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