TelephonyManager.NetworkSpecifier Property

Definition

Returns the network specifier of the subscription ID pinned to the TelephonyManager.

public virtual string? NetworkSpecifier { [Android.Runtime.Register("getNetworkSpecifier", "()Ljava/lang/String;", "GetGetNetworkSpecifierHandler", ApiSince=26)] get; }
[<get: Android.Runtime.Register("getNetworkSpecifier", "()Ljava/lang/String;", "GetGetNetworkSpecifierHandler", ApiSince=26)>]
member this.NetworkSpecifier : string

Property Value

Attributes

Remarks

Returns the network specifier of the subscription ID pinned to the TelephonyManager. The network specifier is used by android.net.NetworkRequest.Builder#setNetworkSpecifier(String) to create a android.net.NetworkRequest that connects through the subscription.

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

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