TelephonyManager.NetworkType Property

Definition

Caution

deprecated

Return the current data network type.

[System.Obsolete("deprecated")]
public virtual Android.Telephony.NetworkType NetworkType { [Android.Runtime.Register("getNetworkType", "()I", "GetGetNetworkTypeHandler")] [Android.Runtime.RequiresPermission("android.permission.READ_PHONE_STATE")] get; }
[<System.Obsolete("deprecated")>]
[<get: Android.Runtime.Register("getNetworkType", "()I", "GetGetNetworkTypeHandler")>]
[<get: Android.Runtime.RequiresPermission("android.permission.READ_PHONE_STATE")>]
member this.NetworkType : Android.Telephony.NetworkType

Property Value

NetworkType

the NETWORK_TYPE_xxxx for current data connection.

Attributes

Remarks

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

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