CarrierConfigManager.KeyCellularServiceCapabilitiesIntArray Field
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
An array of cellular services supported by a subscription.
[Android.Runtime.Register("KEY_CELLULAR_SERVICE_CAPABILITIES_INT_ARRAY", ApiSince=35)]
public const string KeyCellularServiceCapabilitiesIntArray;
[<Android.Runtime.Register("KEY_CELLULAR_SERVICE_CAPABILITIES_INT_ARRAY", ApiSince=35)>]
val mutable KeyCellularServiceCapabilitiesIntArray : string
Field Value
- Attributes
Remarks
An array of cellular services supported by a subscription.
Permissible values include: <ul> <li>SubscriptionManager#SERVICE_CAPABILITY_VOICE
for voice services</li> <li>SubscriptionManager#SERVICE_CAPABILITY_SMS
for SMS services</li> <li>SubscriptionManager#SERVICE_CAPABILITY_DATA
for data services</li> </ul>
Carrier-specific factors may influence how these services are supported. Therefore, modifying this carrier configuration might not always enable the specified services. These capability bitmasks should be considered as indicators of a carrier's preferred services to enhance user experience, rather than as absolute platform guarantees.
Device-level service capabilities, defined by TelephonyManager#isDeviceVoiceCapable
and TelephonyManager#isDeviceSmsCapable
, take precedence over these subscription-level settings. For instance, a device where TelephonyManager#isDeviceVoiceCapable
returns false may not be able to make voice calls, even if subscribed to a service marked as voice-capable.
To determine a subscription's cellular service capabilities, use SubscriptionInfo#getServiceCapabilities()
. To track changes in services, register a SubscriptionManager.OnSubscriptionsChangedListener
and invoke the same method in its callback.
Emergency service availability may not depend on the cellular service capabilities. For example, emergency calls might be possible on a subscription even if it lacks SubscriptionManager#SERVICE_CAPABILITY_VOICE
.
If unset, the default value is “[1, 2, 3]” (supports all cellular services).
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.