Partager via


WifiManager.StatusNetworkSuggestionsErrorAppDisallowed 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 the user has disallowed "android:change_wifi_state" app-ops from the app.

[Android.Runtime.Register("STATUS_NETWORK_SUGGESTIONS_ERROR_APP_DISALLOWED", ApiSince=29)]
[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 StatusNetworkSuggestionsErrorAppDisallowed = 2;
[<Android.Runtime.Register("STATUS_NETWORK_SUGGESTIONS_ERROR_APP_DISALLOWED", ApiSince=29)>]
[<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 StatusNetworkSuggestionsErrorAppDisallowed : Android.Net.Wifi.NetworkStatus

Field Value

Value = 2
Attributes

Remarks

Reason code if the user has disallowed "android:change_wifi_state" app-ops from the app.

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

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