CarrierConfigManager.KeyCarrierServiceNumberStringArray 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.
String array containing the list of service numbers provided by carriers.
[Android.Runtime.Register("KEY_CARRIER_SERVICE_NUMBER_STRING_ARRAY", ApiSince=34)]
public const string KeyCarrierServiceNumberStringArray;
[<Android.Runtime.Register("KEY_CARRIER_SERVICE_NUMBER_STRING_ARRAY", ApiSince=34)>]
val mutable KeyCarrierServiceNumberStringArray : string
Field Value
- Attributes
Remarks
String array containing the list of service numbers provided by carriers. This key should be used with #KEY_CARRIER_SERVICE_NAME_STRING_ARRAY
. The numbers provided in this array will be mapped 1:1 with the names provided in the #KEY_CARRIER_SERVICE_NAME_STRING_ARRAY
array.
The data would be considered valid if and only if:
<ul> <li>The number of items in both the arrays are equal <li>The item added in this key follows a specific format. Either it should be all numbers, or "+" followed by all numbers. </ul>
Example:
<code>
<string-array name="carrier_service_number_array" num="2">
<item value="123"/>
<item value="+343"/>
</string-array>
</code>
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.