CarrierConfigManager.KeyPremiumCapabilitySupportedOnLteBool 字段

定义

是否允许在设备连接到 LTE 时购买高级功能。

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

字段值

属性

注解

是否允许在设备连接到 LTE 时购买高级功能。 如果是这样true,应用程序可以在连接到TelephonyManager#NETWORK_TYPE_LTE购买和使用高级功能时调用TelephonyManager#purchasePremiumCapability(int, Executor, Consumer)。 如果是这样 false,应用程序只能在连接到 TelephonyManager#NETWORK_TYPE_NR时购买和使用高级功能。

默认为 false

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

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

适用于