共用方式為


TelephonyManager.PurchasePremiumCapabilityResultUserCanceled 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 user canceled the operation.

[Android.Runtime.Register("PURCHASE_PREMIUM_CAPABILITY_RESULT_USER_CANCELED", 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 PurchasePremiumCapabilityResultUserCanceled = 6;
[<Android.Runtime.Register("PURCHASE_PREMIUM_CAPABILITY_RESULT_USER_CANCELED", 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 PurchasePremiumCapabilityResultUserCanceled : Android.Telephony.PurchasePremiumCapabilityResult

Field Value

Value = 6
Attributes

Remarks

Purchase premium capability failed because the user canceled the operation. Subsequent attempts will be throttled for the amount of time specified by CarrierConfigManager #KEY_PREMIUM_CAPABILITY_NOTIFICATION_BACKOFF_HYSTERESIS_TIME_MILLIS_LONG and return #PURCHASE_PREMIUM_CAPABILITY_RESULT_THROTTLED.

Java documentation for android.telephony.TelephonyManager.PURCHASE_PREMIUM_CAPABILITY_RESULT_USER_CANCELED.

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