/**@class android.net.wifi.EasyConnectStatusCallback
@extends java.lang.Object

 Easy Connect (DPP) Status Callback. Use this callback to get status updates (success, failure,
 progress) from the Easy Connect operation started with
 {@link android.net.wifi.WifiManager#startEasyConnectAsConfiguratorInitiator(String,
 int, int, Handler, EasyConnectStatusCallback)} or
 {@link android.net.wifi.WifiManager#startEasyConnectAsEnrolleeInitiator(String,
 Handler, EasyConnectStatusCallback)}

 @hide
*/
var EasyConnectStatusCallback = {

/** Easy Connect Success event: Configuration sent (Configurator mode).
*/
EASY_CONNECT_EVENT_SUCCESS_CONFIGURATION_SENT : "0",
/** Easy Connect Progress event: Initial authentication with peer succeeded.
*/
EASY_CONNECT_EVENT_PROGRESS_AUTHENTICATION_SUCCESS : "0",
/** Easy Connect Progress event: Peer requires more time to process bootstrapping.
*/
EASY_CONNECT_EVENT_PROGRESS_RESPONSE_PENDING : "1",
/** Easy Connect Failure event: Scanned QR code is either not a Easy Connect URI, or the Easy
 Connect URI has errors.
*/
EASY_CONNECT_EVENT_FAILURE_INVALID_URI : "-1",
/** Easy Connect Failure event: Bootstrapping/Authentication initialization process failure.
*/
EASY_CONNECT_EVENT_FAILURE_AUTHENTICATION : "-2",
/** Easy Connect Failure event: Both devices are implementing the same role and are incompatible.
*/
EASY_CONNECT_EVENT_FAILURE_NOT_COMPATIBLE : "-3",
/** Easy Connect Failure event: Configuration process has failed due to malformed message.
*/
EASY_CONNECT_EVENT_FAILURE_CONFIGURATION : "-4",
/** Easy Connect Failure event: Easy Connect request while in another Easy Connect exchange.
*/
EASY_CONNECT_EVENT_FAILURE_BUSY : "-5",
/** Easy Connect Failure event: No response from the peer.
*/
EASY_CONNECT_EVENT_FAILURE_TIMEOUT : "-6",
/** Easy Connect Failure event: General protocol failure.
*/
EASY_CONNECT_EVENT_FAILURE_GENERIC : "-7",
/** Easy Connect Failure event: Feature or option is not supported.
*/
EASY_CONNECT_EVENT_FAILURE_NOT_SUPPORTED : "-8",
/** Easy Connect Failure event: Invalid network provided to Easy Connect configurator.
 Network must either be WPA3-Personal (SAE) or WPA2-Personal (PSK).
*/
EASY_CONNECT_EVENT_FAILURE_INVALID_NETWORK : "-9",
/**Called when local Easy Connect Enrollee successfully receives a new Wi-Fi configuration from
 the
 peer Easy Connect configurator. This callback marks the successful end of the Easy Connect
 current Easy Connect
 session, and no further callbacks will be called. This callback is the successful outcome
 of a Easy Connect flow starting with
 {@link android.net.wifi.WifiManager#startEasyConnectAsEnrolleeInitiator(String,
 Handler,
 EasyConnectStatusCallback)}.
@param {Number} newNetworkId New Wi-Fi configuration with a network ID received from the configurator
*/
onEnrolleeSuccess : function(  ) {},

/**Called when a Easy Connect success event takes place, except for when configuration is
 received from
 an external Configurator. The callback onSuccessConfigReceived will be used in this case.
 This callback marks the successful end of the current Easy Connect session, and no further
 callbacks will be called. This callback is the successful outcome of a Easy Connect flow
 starting with
 {@link android.net.wifi.WifiManager#startEasyConnectAsConfiguratorInitiator(String, int, int, Handler,
 EasyConnectStatusCallback)}.
@param {Number} code Easy Connect success status code.
*/
onConfiguratorSuccess : function(  ) {},

/**Called when a Easy Connect Failure event takes place. This callback marks the unsuccessful
 end of the
 current Easy Connect session, and no further callbacks will be called.
@param {Number} code Easy Connect failure status code.
*/
onFailure : function(  ) {},

/**Called when Easy Connect events that indicate progress take place. Can be used by UI elements
 to show progress.
@param {Number} code Easy Connect progress status code.
*/
onProgress : function(  ) {},


};