Aracılığıyla paylaş


EuiccManager.IsEnabled Property

Definition

Whether embedded subscriptions are currently enabled.

public virtual bool IsEnabled { [Android.Runtime.Register("isEnabled", "()Z", "GetIsEnabledHandler", ApiSince=28)] get; }
[<get: Android.Runtime.Register("isEnabled", "()Z", "GetIsEnabledHandler", ApiSince=28)>]
member this.IsEnabled : bool

Property Value

true if embedded subscriptions are currently enabled.

Attributes

Remarks

Whether embedded subscriptions are currently enabled.

Even on devices with the PackageManager#FEATURE_TELEPHONY_EUICC feature, embedded subscriptions may be turned off, e.g. because of a carrier restriction from an inserted physical SIM. Therefore, this runtime check should be used before accessing embedded subscription APIs.

Java documentation for android.telephony.euicc.EuiccManager.isEnabled().

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