CarrierConfigManager.KeyPremiumCapabilityPurchaseUrlString 字段

定义

当用户在应用程序调用 TelephonyManager#purchasePremiumCapability(int, Executor, Consumer)后通过高级功能单击通知时重定向到的 URL。

[Android.Runtime.Register("KEY_PREMIUM_CAPABILITY_PURCHASE_URL_STRING", ApiSince=34)]
public const string KeyPremiumCapabilityPurchaseUrlString;
[<Android.Runtime.Register("KEY_PREMIUM_CAPABILITY_PURCHASE_URL_STRING", ApiSince=34)>]
val mutable KeyPremiumCapabilityPurchaseUrlString : string

字段值

属性

注解

当用户在应用程序调用 TelephonyManager#purchasePremiumCapability(int, Executor, Consumer)后通过高级功能单击通知时重定向到的 URL。 如果 URL 为空或无效,则购买请求将返回 TelephonyManager#PURCHASE_PREMIUM_CAPABILITY_RESULT_FEATURE_NOT_SUPPORTED

默认情况下,这是空的。

适用于 . 的 android.telephony.CarrierConfigManager.KEY_PREMIUM_CAPABILITY_PURCHASE_URL_STRINGJava 文档

本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。

适用于