TelephonyManager.NetworkType Property

Definition

Return the current data network type.

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

Property Value

the NETWORK_TYPE_xxxx for current data connection.

Attributes

Remarks

Return the current data network type.

This member is deprecated. use #getDataNetworkType()

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