The members of Android.Net.ConnectivityManager are listed below.
See Also: Inherited members from Java.Lang.Object
A constructor used when creating managed representations of JNI objects; called by the runtime. |
const | ActionBackgroundDataSettingChanged | string. Broadcast Action: The setting for background data usage has changed values. |
const | ConnectivityAction | string. A change in network connectivity has occurred. |
const | DefaultNetworkPreference | int (1). If you want to set the default network preference,you can directly change the networkAttributes array in framework's config.xml. |
const | ExtraExtraInfo | string. The lookup key for a string that provides optionally supplied extra information about the network state. |
const | ExtraIsFailover | string. The lookup key for a boolean that indicates whether a connect event is for a network to which the connectivity manager was failing over following a disconnect on another network. |
const | ExtraNetworkInfo | string. The lookup key for a Android.Net.NetworkInfo object. |
const | ExtraNetworkType | string. Network type which triggered a ConnectivityManager.ConnectivityAction broadcast. |
const | ExtraNoConnectivity | string. The lookup key for a boolean that indicates whether there is a complete lack of connectivity, i.e., no network is available. |
const | ExtraOtherNetworkInfo | string. The lookup key for a Android.Net.NetworkInfo object. |
const | ExtraReason | string. The lookup key for a string that indicates why an attempt to connect to a network failed. |
[read-only] | ActiveNetworkInfo | NetworkInfo. Returns details about the currently active default data network. |
[read-only] | BackgroundDataSetting | bool. Returns the value of the setting for background data usage. |
[read-only] | IsActiveNetworkMetered | bool. Returns if the currently active data network is metered. |
[read-only] | IsDefaultNetworkActive | bool. Return whether the data network is currently active. |
NetworkPreference | ConnectivityType. Retrieves the current preferred network type. | |
[read-only] static | ProcessDefaultNetwork | Network. Returns the Android.Net.Network currently bound to this process via ConnectivityManager.SetProcessDefaultNetwork(Network), or null if no Android.Net.Network is explicitly bound. |
[read-only] override | ThresholdClass | IntPtr. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code. |
[read-only] override | ThresholdType | Type. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code. |
AddDefaultNetworkActiveListener(ConnectivityManager.IOnNetworkActiveListener)Start listening to reports when the system's default data network is active, meaning it is a good time to perform network traffic. | ||
static | FromContext(Android.Content.Context)Documentation for this section has not yet been entered. | |
GetAllNetworkInfo()Returns connection status information about all network types supported by the device. | ||
GetAllNetworks()Returns an array of all Android.Net.Network currently tracked by the framework. | ||
GetLinkProperties(Network)Get the Android.Net.LinkProperties for the given Android.Net.Network. | ||
GetNetworkCapabilities(Network)Get the Android.Net.NetworkCapabilities for the given Android.Net.Network. | ||
GetNetworkInfo(ConnectivityType)Returns connection status information about a particular network type. | ||
GetNetworkInfo(Network)Returns connection status information about a particular Network. | ||
static | IsNetworkTypeValid(ConnectivityType)Tests if a given integer represents a valid network type. | |
RegisterNetworkCallback(NetworkRequest, ConnectivityManager.NetworkCallback)Registers to receive notifications about all networks which satisfy the given Android.Net.NetworkRequest. | ||
RemoveDefaultNetworkActiveListener(ConnectivityManager.IOnNetworkActiveListener)Remove network active listener previously registered with ConnectivityManager.AddDefaultNetworkActiveListener(.IOnNetworkActiveListener). | ||
ReportBadNetwork(Network)Report a problem network to the framework. | ||
RequestNetwork(NetworkRequest, ConnectivityManager.NetworkCallback)Request a network to satisfy a set of Android.Net.NetworkCapabilities. | ||
RequestRouteToHost(ConnectivityType, int)Ensure that a network route exists to deliver traffic to the specified host via the specified network interface. | ||
RequestRouteToHostAsync(ConnectivityType, int)Documentation for this section has not yet been entered. | ||
static | SetProcessDefaultNetwork(Network)Binds the current process to network. | |
StartUsingNetworkFeature(ConnectivityType, string)Tells the underlying networking system that the caller wants to begin using the named feature. | ||
StopUsingNetworkFeature(ConnectivityType, string)Tells the underlying networking system that the caller is finished using the named feature. | ||
UnregisterNetworkCallback(ConnectivityManager.NetworkCallback)Unregisters callbacks about and possibly releases networks originating from ConnectivityManager.RequestNetwork(NetworkRequest, .NetworkCallback) and ConnectivityManager.RegisterNetworkCallback(NetworkRequest, .NetworkCallback) calls. |
DefaultNetworkActive | Documentation for this section has not yet been entered. |