SmsManager.SubscriptionId Property

Definition

Get the associated subscription id.

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

Property Value

Int32

associated subscription ID or SubscriptionManager#INVALID_SUBSCRIPTION_ID if the default subscription id cannot be determined or the device has multiple active subscriptions and and no default is set ("ask every time") by the user.

Attributes

Remarks

Java documentation for android.telephony.SmsManager.getSubscriptionId().

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