Udostępnij za pośrednictwem


SubscriptionInfo.SubscriptionType Property

Definition

This method returns the type of a subscription.

public virtual Android.Telephony.SubscriptionType SubscriptionType { [Android.Runtime.Register("getSubscriptionType", "()I", "GetGetSubscriptionTypeHandler", ApiSince=29)] get; }
[<get: Android.Runtime.Register("getSubscriptionType", "()I", "GetGetSubscriptionTypeHandler", ApiSince=29)>]
member this.SubscriptionType : Android.Telephony.SubscriptionType

Property Value

The type of the subscription.

Attributes

Remarks

This method returns the type of a subscription. It can be SubscriptionManager#SUBSCRIPTION_TYPE_LOCAL_SIM or SubscriptionManager#SUBSCRIPTION_TYPE_REMOTE_SIM.

Java documentation for android.telephony.SubscriptionInfo.getSubscriptionType().

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