Partager via


CarrierConfigManager.KeyCellularUsageSettingInt Field

Definition

Controls the cellular usage setting.

[Android.Runtime.Register("KEY_CELLULAR_USAGE_SETTING_INT", ApiSince=33)]
public const string KeyCellularUsageSettingInt;
[<Android.Runtime.Register("KEY_CELLULAR_USAGE_SETTING_INT", ApiSince=33)>]
val mutable KeyCellularUsageSettingInt : string

Field Value

Attributes

Remarks

Controls the cellular usage setting.

The usage setting indicates whether a device will remain attached to a network based on the primary use case for the service. A device will detach and search for a more-preferred network if the primary use case (voice or data) is not satisfied. Depending on the type of device, it may operate in a voice or data-centric mode by default.

Sets the usage setting in accordance with 3gpp 24.301 sec 4.3 and 3gpp 24.501 sec 4.3. Also refer to "UE's usage setting" as defined in 3gpp 24.301 section 3.1 and 3gpp 23.221 Annex A.

Either omit this key or pass a value of SubscriptionManager#USAGE_SETTING_UNKNOWN unknown to preserve the current setting.

Devices that support configuration of the cellular usage setting, including devices with HAL capability to set the cellular usage setting, must honor this setting accordingly.

SubscriptionManager#USAGE_SETTING_DEFAULT default, SubscriptionManager#USAGE_SETTING_VOICE_CENTRIC voice-centric, or SubscriptionManager#USAGE_SETTING_DATA_CENTRIC data-centric. SubscriptionInfo#getUsageSetting

Java documentation for android.telephony.CarrierConfigManager.KEY_CELLULAR_USAGE_SETTING_INT.

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