共用方式為


CarrierConfigManager.KeyIsOpportunisticSubscriptionBool Field

Definition

A boolean property indicating whether this subscription should be managed as an opportunistic subscription.

[Android.Runtime.Register("KEY_IS_OPPORTUNISTIC_SUBSCRIPTION_BOOL", ApiSince=33)]
public const string KeyIsOpportunisticSubscriptionBool;
[<Android.Runtime.Register("KEY_IS_OPPORTUNISTIC_SUBSCRIPTION_BOOL", ApiSince=33)>]
val mutable KeyIsOpportunisticSubscriptionBool : string

Field Value

Attributes

Remarks

A boolean property indicating whether this subscription should be managed as an opportunistic subscription.

If true, then this subscription will be selected based on available coverage and will not be available for a user in settings menus for selecting macro network providers. If unset, defaults to “false”.

This key will work all the way back to android.os.Build.VERSION_CODES#Q.

Java documentation for android.telephony.CarrierConfigManager.KEY_IS_OPPORTUNISTIC_SUBSCRIPTION_BOOL.

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