Android.Net.NetworkInfo Members

The members of Android.Net.NetworkInfo are listed below.

See Also: Inherited members from Java.Lang.Object

Protected Constructors

A constructor used when creating managed representations of JNI objects; called by the runtime.

Public Properties

[read-only]
ExtraInfostring. Report the extra information about the network state, if any was provided by the lower networking layers.
[read-only]
IsAvailablebool. Indicates whether network connectivity is possible.
[read-only]
IsConnectedbool. Indicates whether network connectivity exists and it is possible to establish connections and pass data.
[read-only]
IsConnectedOrConnectingbool. Indicates whether network connectivity exists or is in the process of being established.
[read-only]
IsFailoverbool. Indicates whether the current attempt to connect to the network resulted from the ConnectivityManager trying to fail over to this network following a disconnect from another network.
[read-only]
IsRoamingbool. Indicates whether the device is currently roaming on this network.
[read-only]
Reasonstring. Report the reason an attempt to establish connectivity failed, if one is available.
[read-only]
SubtypeConnectivityType. Return a network-type-specific integer describing the subtype of the network.
[read-only]
SubtypeNamestring. Return a human-readable name describing the subtype of the network.
[read-only]
TypeConnectivityType. Reports the type of network to which the info in this NetworkInfo pertains.
[read-only]
TypeNamestring. Return a human-readable name describe the type of the network, for example "WIFI" or "MOBILE".

Protected Properties

[read-only]
override
ThresholdClassIntPtr. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.
[read-only]
override
ThresholdTypeType. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

Public Methods

DescribeContents() : int
Documentation for this section has not yet been entered.
GetDetailedState() : NetworkInfo.DetailedState
Reports the current fine-grained state of the network.
GetState() : NetworkInfo.State
Reports the current coarse-grained state of the network.
WriteToParcel(Android.OS.Parcel, Android.OS.ParcelableWriteFlags)
Documentation for this section has not yet been entered.