Udostępnij za pośrednictwem


ServiceState.OperatorAlphaLong Property

Definition

Get current registered operator name in long alphanumeric format.

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

Property Value

long name of operator, null if unregistered or unknown

Attributes

Remarks

Get current registered operator name in long alphanumeric format.

In GSM/UMTS, long format can be up to 16 characters long. In CDMA, returns the ERI text, if set. Otherwise, returns the ONS.

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.getOperatorAlphaLong().

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