Sdílet prostřednictvím


WifiManager.StatusNetworkSuggestionsErrorAddNotAllowed 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 not allowed.

[Android.Runtime.Register("STATUS_NETWORK_SUGGESTIONS_ERROR_ADD_NOT_ALLOWED", 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 StatusNetworkSuggestionsErrorAddNotAllowed = 6;
[<Android.Runtime.Register("STATUS_NETWORK_SUGGESTIONS_ERROR_ADD_NOT_ALLOWED", 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 StatusNetworkSuggestionsErrorAddNotAllowed : Android.Net.Wifi.NetworkStatus

Field Value

Value = 6
Attributes

Remarks

Reason code if one or more of the network suggestions added is not allowed. The framework will reject all suggestions provided by #addNetworkSuggestions(List) if one or more of them is not allowed. This error may be caused by suggestion is using SIM-based encryption method, but calling app is not carrier privileged.

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

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