次の方法で共有


TelephonyManager.GroupIdLevel1 Property

Definition

Returns the Group Identifier Level1 for a GSM phone.

public virtual string? GroupIdLevel1 { [Android.Runtime.Register("getGroupIdLevel1", "()Ljava/lang/String;", "GetGetGroupIdLevel1Handler")] [Android.Runtime.RequiresPermission("android.permission.READ_PHONE_STATE")] get; }
[<get: Android.Runtime.Register("getGroupIdLevel1", "()Ljava/lang/String;", "GetGetGroupIdLevel1Handler")>]
[<get: Android.Runtime.RequiresPermission("android.permission.READ_PHONE_STATE")>]
member this.GroupIdLevel1 : string

Property Value

Attributes

Remarks

Returns the Group Identifier Level1 for a GSM phone. Return null if it is unavailable.

Requires Permission: android.Manifest.permission#READ_PHONE_STATE READ_PHONE_STATE or that the calling app has carrier privileges (see #hasCarrierPrivileges).

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

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