Share via


NetworkCapabilities.NetCapabilityPrioritizeBandwidth Field

Definition

Caution

This constant will be removed in the future version. Use Android.Net.NetCapability enum directly instead of this field.

Indicates that this network should be able to prioritize bandwidth for the internet.

[Android.Runtime.Register("NET_CAPABILITY_PRIORITIZE_BANDWIDTH", ApiSince=33)]
[System.Obsolete("This constant will be removed in the future version. Use Android.Net.NetCapability enum directly instead of this field.", true)]
public const Android.Net.NetCapability NetCapabilityPrioritizeBandwidth = 35;
[<Android.Runtime.Register("NET_CAPABILITY_PRIORITIZE_BANDWIDTH", ApiSince=33)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Net.NetCapability enum directly instead of this field.", true)>]
val mutable NetCapabilityPrioritizeBandwidth : Android.Net.NetCapability

Field Value

Value = 35

Implements

Attributes

Remarks

Indicates that this network should be able to prioritize bandwidth for the internet.

Starting with Build.VERSION_CODES#UPSIDE_DOWN_CAKE, requesting this capability with ConnectivityManager#requestNetwork requires declaration in the self-certified network capabilities. See NetworkRequest for the self-certification documentation.

Java documentation for android.net.NetworkCapabilities.NET_CAPABILITY_PRIORITIZE_BANDWIDTH.

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