Share via


ServiceState.OperatorNumeric Property

Definition

Get current registered operator numeric id.

public virtual string? OperatorNumeric { [Android.Runtime.Register("getOperatorNumeric", "()Ljava/lang/String;", "GetGetOperatorNumericHandler")] get; }
[<get: Android.Runtime.Register("getOperatorNumeric", "()Ljava/lang/String;", "GetGetOperatorNumericHandler")>]
member this.OperatorNumeric : string

Property Value

numeric format of operator, null if unregistered or unknown

Attributes

Remarks

Get current registered operator numeric id.

In GSM/UMTS, numeric format is 3 digit country code plus 2 or 3 digit network code.

Require at least android.Manifest.permission#ACCESS_FINE_LOCATION or android.Manifest.permission#ACCESS_COARSE_LOCATION. Otherwise return null if the caller does not hold neither android.Manifest.permission#ACCESS_FINE_LOCATION nor android.Manifest.permission#ACCESS_COARSE_LOCATION.

Java documentation for android.telephony.ServiceState.getOperatorNumeric().

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