Język

StatusSuggestionConnectionFailure Enum

Definition

Identifies the failure stage of a connection made from a network suggestion.

public enum StatusSuggestionConnectionFailure
type StatusSuggestionConnectionFailure = 
Inheritance
StatusSuggestionConnectionFailure

Fields

Name Value Description
Unknown 0

Reason code if suggested network connection attempt failed with an unknown failure.

Android reference for android.net.wifi.WifiManager.STATUS_SUGGESTION_CONNECTION_FAILURE_UNKNOWN.

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.

Association 1

Reason code if suggested network connection attempt failed with association failure.

Android reference for android.net.wifi.WifiManager.STATUS_SUGGESTION_CONNECTION_FAILURE_ASSOCIATION.

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.

Authentication 2

Reason code if suggested network connection attempt failed with an authentication failure.

Android reference for android.net.wifi.WifiManager.STATUS_SUGGESTION_CONNECTION_FAILURE_AUTHENTICATION.

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.

IpProvisioning 3

Reason code if suggested network connection attempt failed with an IP provision failure.

Android reference for android.net.wifi.WifiManager.STATUS_SUGGESTION_CONNECTION_FAILURE_IP_PROVISIONING.

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.

Remarks

The codes distinguish association, authentication, and IP-provisioning failures, with a separate unknown reason. They describe the failure reported in WifiManager.SuggestionConnectionStatusEventArgs.

Applies to