Partager via


WifiManager.StatusNetworkSuggestionsErrorAddInvalid Field

Definition

Caution

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

Reason code if one or more of the network suggestions added is invalid.

[Android.Runtime.Register("STATUS_NETWORK_SUGGESTIONS_ERROR_ADD_INVALID", ApiSince=30)]
[System.Obsolete("This constant will be removed in the future version. Use Android.Net.Wifi.NetworkStatus enum directly instead of this field.", true)]
public const Android.Net.Wifi.NetworkStatus StatusNetworkSuggestionsErrorAddInvalid = 7;
[<Android.Runtime.Register("STATUS_NETWORK_SUGGESTIONS_ERROR_ADD_INVALID", ApiSince=30)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Net.Wifi.NetworkStatus enum directly instead of this field.", true)>]
val mutable StatusNetworkSuggestionsErrorAddInvalid : Android.Net.Wifi.NetworkStatus

Field Value

Value = 7
Attributes

Remarks

Reason code if one or more of the network suggestions added is invalid. Framework will reject all the suggestions in the list. The framework will reject all suggestions provided by #addNetworkSuggestions(List) if one or more of them is invalid. Please use WifiNetworkSuggestion.Builder to create network suggestions.

Java documentation for android.net.wifi.WifiManager.STATUS_NETWORK_SUGGESTIONS_ERROR_ADD_INVALID.

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