EmergencyNumber.Number Property

Definition

Get the dialing number of the emergency number.

public string Number { [Android.Runtime.Register("getNumber", "()Ljava/lang/String;", "", ApiSince=29)] get; }
[<get: Android.Runtime.Register("getNumber", "()Ljava/lang/String;", "", ApiSince=29)>]
member this.Number : string

Property Value

the dialing number.

Attributes

Remarks

Get the dialing number of the emergency number.

The character in the number string is only the dial pad character('0'-'9', '*', '+', or '#'). For example: 911.

If the number starts with carrier prefix, the carrier prefix is configured in CarrierConfigManager#KEY_EMERGENCY_NUMBER_PREFIX_STRING_ARRAY.

Java documentation for android.telephony.emergency.EmergencyNumber.getNumber().

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