次の方法で共有


TelephonyManager.ManualNetworkSelectionPlmn Property

Definition

Get the PLMN chosen for Manual Network Selection if active.

public virtual string ManualNetworkSelectionPlmn { [Android.Runtime.Register("getManualNetworkSelectionPlmn", "()Ljava/lang/String;", "GetGetManualNetworkSelectionPlmnHandler", ApiSince=30)] [Android.Runtime.RequiresPermission("android.permission.READ_PRECISE_PHONE_STATE")] get; }
[<get: Android.Runtime.Register("getManualNetworkSelectionPlmn", "()Ljava/lang/String;", "GetGetManualNetworkSelectionPlmnHandler", ApiSince=30)>]
[<get: Android.Runtime.RequiresPermission("android.permission.READ_PRECISE_PHONE_STATE")>]
member this.ManualNetworkSelectionPlmn : string

Property Value

manually selected network info on success or empty string on failure

Attributes

Remarks

Get the PLMN chosen for Manual Network Selection if active. Return empty string if in automatic selection.

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

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

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