Sdílet prostřednictvím


TelephonyManager.SimOperator Property

Definition

Returns the MCC+MNC (mobile country code + mobile network code) of the provider of the SIM.

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

Property Value

Attributes

Remarks

Returns the MCC+MNC (mobile country code + mobile network code) of the provider of the SIM. 5 or 6 decimal digits.

Availability: SIM state must be #SIM_STATE_READY

Java documentation for android.telephony.TelephonyManager.getSimOperator().

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

See also