Android.Net.Network Class
Identifies a Network.

See Also: Network Members

Syntax

[Android.Runtime.Register("android/net/Network", DoNotGenerateAcw=true)]
public class Network : Java.Lang.Object, Android.OS.IParcelable, IDisposable

Remarks

Identifies a Network. This is supplied to applications via NoType:android/net/ConnectivityManager$NetworkCallback;Href=../../../reference/android/net/ConnectivityManager.NetworkCallback.html in response to the active ConnectivityManager.RequestNetwork(NetworkRequest, .NetworkCallback) or passive ConnectivityManager.RegisterNetworkCallback(NetworkRequest, .NetworkCallback) calls. It is used to direct traffic to the given Network, either on a Java.Net.Socket basis through a targeted Javax.Net.SocketFactory or process-wide via ConnectivityManager.SetProcessDefaultNetwork(Network).

[Android Documentation]

Requirements

Namespace: Android.Net
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0