TelephonyManager.SubscriptionId 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.
Return an appropriate subscription ID for any situation.
public virtual int SubscriptionId { [Android.Runtime.Register("getSubscriptionId", "()I", "GetGetSubscriptionIdHandler", ApiSince=30)] get; }
[<get: Android.Runtime.Register("getSubscriptionId", "()I", "GetGetSubscriptionIdHandler", ApiSince=30)>]
member this.SubscriptionId : int
Property Value
- Attributes
Remarks
Return an appropriate subscription ID for any situation.
If this object has been created with #createForSubscriptionId
, then the provided subscription ID is returned. Otherwise, the default subscription ID will be returned.
Java documentation for android.telephony.TelephonyManager.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.