Dela via


TelephonyManager.PurchasePremiumCapabilityResultNotForeground 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 requesting application is not in the foreground.

[Android.Runtime.Register("PURCHASE_PREMIUM_CAPABILITY_RESULT_NOT_FOREGROUND", 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 PurchasePremiumCapabilityResultNotForeground = 5;
[<Android.Runtime.Register("PURCHASE_PREMIUM_CAPABILITY_RESULT_NOT_FOREGROUND", 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 PurchasePremiumCapabilityResultNotForeground : Android.Telephony.PurchasePremiumCapabilityResult

Field Value

Value = 5
Attributes

Remarks

Purchase premium capability failed because the requesting application is not in the foreground. Subsequent attempts will return the same error until the requesting application moves to the foreground.

Java documentation for android.telephony.TelephonyManager.PURCHASE_PREMIUM_CAPABILITY_RESULT_NOT_FOREGROUND.

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