共用方式為


TelephonyManager.SimCountryIso Property

Definition

Returns the ISO-3166-1 alpha-2 country code equivalent for the SIM provider's country code.

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

Property Value

the lowercase 2 character ISO-3166-1 alpha-2 country code, or empty string is not available.

Attributes

Remarks

Returns the ISO-3166-1 alpha-2 country code equivalent for the SIM provider's country code.

The ISO-3166-1 alpha-2 country code is provided in lowercase 2 character format.

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

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