Condividi tramite


TelephonyManager.PurchasePremiumCapabilityResultSuccess 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 request was successful.

[Android.Runtime.Register("PURCHASE_PREMIUM_CAPABILITY_RESULT_SUCCESS", 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 PurchasePremiumCapabilityResultSuccess = 1;
[<Android.Runtime.Register("PURCHASE_PREMIUM_CAPABILITY_RESULT_SUCCESS", 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 PurchasePremiumCapabilityResultSuccess : Android.Telephony.PurchasePremiumCapabilityResult

Field Value

Value = 1
Attributes

Remarks

Purchase premium capability request was successful. Once the purchase result is successful, the network must set up a slicing configuration for the purchased premium capability within the timeout specified by CarrierConfigManager#KEY_PREMIUM_CAPABILITY_NETWORK_SETUP_TIME_MILLIS_LONG. During the setup time, subsequent attempts will return #PURCHASE_PREMIUM_CAPABILITY_RESULT_PENDING_NETWORK_SETUP. After setup is complete, subsequent attempts will return #PURCHASE_PREMIUM_CAPABILITY_RESULT_ALREADY_PURCHASED until the boost expires. The expiry time is determined by the type or duration of boost purchased from the carrier, provided at CarrierConfigManager#KEY_PREMIUM_CAPABILITY_PURCHASE_URL_STRING.

Java documentation for android.telephony.TelephonyManager.PURCHASE_PREMIUM_CAPABILITY_RESULT_SUCCESS.

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