共用方式為


TelephonyManager.PurchasePremiumCapabilityResultNotDefaultDataSubscription Field

Definition

Caution

This constant will be removed in the future version. Use Android.Telephony.PurchasePremiumCapabilityResult enum directly instead of this field.

Purchase premium capability failed because the request was not made on the default data subscription, indicated by SubscriptionManager#getDefaultDataSubscriptionId().

[Android.Runtime.Register("PURCHASE_PREMIUM_CAPABILITY_RESULT_NOT_DEFAULT_DATA_SUBSCRIPTION", ApiSince=34)]
[System.Obsolete("This constant will be removed in the future version. Use Android.Telephony.PurchasePremiumCapabilityResult enum directly instead of this field.", true)]
public const Android.Telephony.PurchasePremiumCapabilityResult PurchasePremiumCapabilityResultNotDefaultDataSubscription = 14;
[<Android.Runtime.Register("PURCHASE_PREMIUM_CAPABILITY_RESULT_NOT_DEFAULT_DATA_SUBSCRIPTION", ApiSince=34)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Telephony.PurchasePremiumCapabilityResult enum directly instead of this field.", true)>]
val mutable PurchasePremiumCapabilityResultNotDefaultDataSubscription : Android.Telephony.PurchasePremiumCapabilityResult

Field Value

Value = 14
Attributes

Remarks

Purchase premium capability failed because the request was not made on the default data subscription, indicated by SubscriptionManager#getDefaultDataSubscriptionId(). Subsequent attempts will return the same error until the request is made on the default data subscription.

Java documentation for android.telephony.TelephonyManager.PURCHASE_PREMIUM_CAPABILITY_RESULT_NOT_DEFAULT_DATA_SUBSCRIPTION.

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