ConnectivityManager
IOnNetworkActiveListener
NetworkCallback
ActionBackgroundDataSettingChanged
ActionCaptivePortalSignIn
ActionRestrictBackgroundChanged
ConnectivityAction
DefaultNetworkPreference
ExtraCaptivePortal
ExtraCaptivePortalUrl
ExtraExtraInfo
ExtraIsFailover
ExtraNetwork
ExtraNetworkInfo
ExtraNetworkRequest
ExtraNetworkType
ExtraNoConnectivity
ExtraOtherNetworkInfo
ExtraReason
RestrictBackgroundStatusDisabled
RestrictBackgroundStatusEnabled
RestrictBackgroundStatusWhitelisted
ConnectivityManager(IntPtr, JniHandleOwnership)
ActiveNetwork
ActiveNetworkInfo
BackgroundDataSetting
BoundNetworkForProcess
DefaultProxy
IsActiveNetworkMetered
IsDefaultNetworkActive
JniPeerMembers
NetworkPreference
ProcessDefaultNetwork
RestrictBackgroundStatus
ThresholdClass
ThresholdType
AddDefaultNetworkActiveListener(IOnNetworkActiveListener)
BindProcessToNetwork(Network)
CreateSocketKeepalive(Network, UdpEncapsulationSocket, InetAddress, InetAddress, IExecutor, Callback)
FromContext(Context)
GetAllNetworkInfo()
GetAllNetworks()
GetConnectionOwnerUid(Int32, InetSocketAddress, InetSocketAddress)
GetLinkProperties(Network)
GetMultipathPreference(Network)
GetNetworkCapabilities(Network)
GetNetworkInfo(ConnectivityType)
GetNetworkInfo(Network)
GetNetworkWatchlistConfigHash()
IsNetworkTypeValid(ConnectivityType)
RegisterBestMatchingNetworkCallback(NetworkRequest, NetworkCallback, Handler)
RegisterDefaultNetworkCallback(NetworkCallback)
RegisterDefaultNetworkCallback(NetworkCallback, Handler)
RegisterNetworkCallback(NetworkRequest, NetworkCallback)
RegisterNetworkCallback(NetworkRequest, PendingIntent)
RegisterNetworkCallback(NetworkRequest, NetworkCallback, Handler)
ReleaseNetworkRequest(PendingIntent)
RemoveDefaultNetworkActiveListener(IOnNetworkActiveListener)
ReportBadNetwork(Network)
ReportNetworkConnectivity(Network, Boolean)
RequestBandwidthUpdate(Network)
RequestNetwork(NetworkRequest, NetworkCallback)
RequestNetwork(NetworkRequest, PendingIntent)
RequestNetwork(NetworkRequest, NetworkCallback, Handler)
RequestNetwork(NetworkRequest, NetworkCallback, Int32)
RequestNetwork(NetworkRequest, NetworkCallback, Handler, Int32)
RequestRouteToHost(ConnectivityType, Int32)
RequestRouteToHostAsync(ConnectivityType, Int32)
SetProcessDefaultNetwork(Network)
StartUsingNetworkFeature(ConnectivityType, String)
StopUsingNetworkFeature(ConnectivityType, String)
UnregisterNetworkCallback(NetworkCallback)
UnregisterNetworkCallback(PendingIntent)
DefaultNetworkActive
net9.0-android34.0
namespace Android.Net
{
[Register("android/net/ConnectivityManager", DoNotGenerateAcw = true)]
public class ConnectivityManager : Object
{
[Obsolete("This constant will be removed in the future version. Use Android.Net.RestrictBackgroundStatus enum directly instead of this field.", true)]
[Register("RESTRICT_BACKGROUND_STATUS_WHITELISTED", ApiSince = 24)]
[SupportedOSPlatform("android24.0")]
public const RestrictBackgroundStatus RestrictBackgroundStatusWhitelisted = RestrictBackgroundStatus.Whitelisted;
}
}
.NET | 6.07.08.09.0 |
---|---|
Information specific to net9.0 | |
Platforms | This API is only available when you target a specific platform: |
Android | 21.022.023.024.025.026.027.028.029.030.031.032.033.034.0 |
Information specific to net9.0-android34.0 | |
Assembly | Mono.Android , Version=0.0.0.0, PublicKeyToken=84e04ff9cfb79065 |
Referencing | The API is automatically referenced. |
Obsolete | This constant will be removed in the future version. Use Android.Net.RestrictBackgroundStatus enum directly instead of this field. |
Platform Restrictions | This API is only supported on the following platforms:
|
- Built-in API
- Package-provided API