Share via


TelephonyManager.DataState Property

Definition

Returns a constant indicating the current data connection state (cellular).

public virtual Android.Telephony.DataConnectionStatus DataState { [Android.Runtime.Register("getDataState", "()I", "GetGetDataStateHandler")] get; }
[<get: Android.Runtime.Register("getDataState", "()I", "GetGetDataStateHandler")>]
member this.DataState : Android.Telephony.DataConnectionStatus

Property Value

Attributes

Remarks

Returns a constant indicating the current data connection state (cellular).

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

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