Added in [API level 30](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels) Summary: [Constants](https://developer.android.com/reference/android/net/wifi/EasyConnectStatusCallback#constants) \| [Inherited Methods](https://developer.android.com/reference/android/net/wifi/EasyConnectStatusCallback#inhmethods)

# EasyConnectStatusCallback

*** ** * ** ***

` public abstract class EasyConnectStatusCallback `   
` extends https://developer.android.com/reference/java/lang/Object ` ` `

|---|---|
| [java.lang.Object](https://developer.android.com/reference/java/lang/Object) ||
| ↳ | android.net.wifi.EasyConnectStatusCallback |

<br />

*** ** * ** ***

Easy Connect (DPP) Status Callback. Use this callback to get status updates (success, failure, progress) from the Easy Connect operations.

## Summary

| ### Constants ||
|---|---|
| `int` | `https://developer.android.com/reference/android/net/wifi/EasyConnectStatusCallback#EASY_CONNECT_EVENT_FAILURE_AUTHENTICATION` Easy Connect Failure event: Bootstrapping/Authentication initialization process failure. |
| `int` | `https://developer.android.com/reference/android/net/wifi/EasyConnectStatusCallback#EASY_CONNECT_EVENT_FAILURE_BUSY` Easy Connect Failure event: Easy Connect request while in another Easy Connect exchange. |
| `int` | `https://developer.android.com/reference/android/net/wifi/EasyConnectStatusCallback#EASY_CONNECT_EVENT_FAILURE_CANNOT_FIND_NETWORK` Easy Connect R2 Failure event: Enrollee cannot find the network. |
| `int` | `https://developer.android.com/reference/android/net/wifi/EasyConnectStatusCallback#EASY_CONNECT_EVENT_FAILURE_CONFIGURATION` Easy Connect Failure event: Configuration process has failed due to malformed message. |
| `int` | `https://developer.android.com/reference/android/net/wifi/EasyConnectStatusCallback#EASY_CONNECT_EVENT_FAILURE_ENROLLEE_AUTHENTICATION` Easy Connect R2 Failure event: Enrollee failed to authenticate with the network. |
| `int` | `https://developer.android.com/reference/android/net/wifi/EasyConnectStatusCallback#EASY_CONNECT_EVENT_FAILURE_ENROLLEE_FAILED_TO_SCAN_NETWORK_CHANNEL` Easy Connect Failure event: Enrollee didn't scan the network's operating channel. |
| `int` | `https://developer.android.com/reference/android/net/wifi/EasyConnectStatusCallback#EASY_CONNECT_EVENT_FAILURE_ENROLLEE_REJECTED_CONFIGURATION` Easy Connect R2 Failure event: Enrollee rejected the configuration. |
| `int` | `https://developer.android.com/reference/android/net/wifi/EasyConnectStatusCallback#EASY_CONNECT_EVENT_FAILURE_GENERIC` Easy Connect Failure event: General protocol failure. |
| `int` | `https://developer.android.com/reference/android/net/wifi/EasyConnectStatusCallback#EASY_CONNECT_EVENT_FAILURE_INVALID_NETWORK` Easy Connect Failure event: Invalid network provided to Easy Connect configurator. |
| `int` | `https://developer.android.com/reference/android/net/wifi/EasyConnectStatusCallback#EASY_CONNECT_EVENT_FAILURE_INVALID_URI` Easy Connect Failure event: Scanned QR code is either not a Easy Connect URI, or the Easy Connect URI has errors. |
| `int` | `https://developer.android.com/reference/android/net/wifi/EasyConnectStatusCallback#EASY_CONNECT_EVENT_FAILURE_NOT_COMPATIBLE` Easy Connect Failure event: Both devices are implementing the same role and are incompatible. |
| `int` | `https://developer.android.com/reference/android/net/wifi/EasyConnectStatusCallback#EASY_CONNECT_EVENT_FAILURE_NOT_SUPPORTED` Easy Connect Failure event: Feature or option is not supported. |
| `int` | `https://developer.android.com/reference/android/net/wifi/EasyConnectStatusCallback#EASY_CONNECT_EVENT_FAILURE_TIMEOUT` Easy Connect Failure event: No response from the peer. |
| `int` | `https://developer.android.com/reference/android/net/wifi/EasyConnectStatusCallback#EASY_CONNECT_EVENT_FAILURE_URI_GENERATION` Easy Connect Failure event: System failed to generate DPP URI. |

### Inherited methods

From class ` https://developer.android.com/reference/java/lang/Object ` ` https://developer.android.com/reference/java/lang/Object` ` https://developer.android.com/reference/java/lang/Object#clone()() `

Creates and returns a copy of this object.
` boolean` ` https://developer.android.com/reference/java/lang/Object#equals(java.lang.Object)(https://developer.android.com/reference/java/lang/Object obj) `

Indicates whether some other object is "equal to" this one.
` void` ` https://developer.android.com/reference/java/lang/Object#finalize()() `

Called by the garbage collector on an object when garbage collection determines that there are no more references to the object.
` final https://developer.android.com/reference/java/lang/Class<?>` ` https://developer.android.com/reference/java/lang/Object#getClass()() `

Returns the runtime class of this `Object`.
` int` ` https://developer.android.com/reference/java/lang/Object#hashCode()() `

Returns a hash code value for the object.
` final void` ` https://developer.android.com/reference/java/lang/Object#notify()() `

Wakes up a single thread that is waiting on this object's monitor.
` final void` ` https://developer.android.com/reference/java/lang/Object#notifyAll()() `

Wakes up all threads that are waiting on this object's monitor.
` https://developer.android.com/reference/java/lang/String` ` https://developer.android.com/reference/java/lang/Object#toString()() `

Returns a string representation of the object.
` final void` ` https://developer.android.com/reference/java/lang/Object#wait(long,%20int)(long timeoutMillis, int nanos) `

Causes the current thread to wait until it is awakened, typically by being *notified* or *interrupted*, or until a certain amount of real time has elapsed.
` final void` ` https://developer.android.com/reference/java/lang/Object#wait(long)(long timeoutMillis) `

Causes the current thread to wait until it is awakened, typically by being *notified* or *interrupted*, or until a certain amount of real time has elapsed.
` final void` ` https://developer.android.com/reference/java/lang/Object#wait()() `

Causes the current thread to wait until it is awakened, typically by being *notified* or *interrupted*.

## Constants

### EASY_CONNECT_EVENT_FAILURE_AUTHENTICATION

Added in [API level 30](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final int EASY_CONNECT_EVENT_FAILURE_AUTHENTICATION
```

Easy Connect Failure event: Bootstrapping/Authentication initialization process failure.

<br />

Constant Value: -2 (0xfffffffe)

### EASY_CONNECT_EVENT_FAILURE_BUSY

Added in [API level 30](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final int EASY_CONNECT_EVENT_FAILURE_BUSY
```

Easy Connect Failure event: Easy Connect request while in another Easy Connect exchange.

<br />

Constant Value: -5 (0xfffffffb)

### EASY_CONNECT_EVENT_FAILURE_CANNOT_FIND_NETWORK

Added in [API level 30](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final int EASY_CONNECT_EVENT_FAILURE_CANNOT_FIND_NETWORK
```

Easy Connect R2 Failure event: Enrollee cannot find the network.

<br />

Constant Value: -10 (0xfffffff6)

### EASY_CONNECT_EVENT_FAILURE_CONFIGURATION

Added in [API level 30](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final int EASY_CONNECT_EVENT_FAILURE_CONFIGURATION
```

Easy Connect Failure event: Configuration process has failed due to malformed message.

<br />

Constant Value: -4 (0xfffffffc)

### EASY_CONNECT_EVENT_FAILURE_ENROLLEE_AUTHENTICATION

Added in [API level 30](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final int EASY_CONNECT_EVENT_FAILURE_ENROLLEE_AUTHENTICATION
```

Easy Connect R2 Failure event: Enrollee failed to authenticate with the network.

<br />

Constant Value: -11 (0xfffffff5)

### EASY_CONNECT_EVENT_FAILURE_ENROLLEE_FAILED_TO_SCAN_NETWORK_CHANNEL

Added in [API level 31](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final int EASY_CONNECT_EVENT_FAILURE_ENROLLEE_FAILED_TO_SCAN_NETWORK_CHANNEL
```

Easy Connect Failure event: Enrollee didn't scan the network's operating channel. This error is generated when framework finds that Network's operating channel is not included in the list of channels the Enrollee scanned in attempting to discover the network prior to connection.

<br />

Constant Value: -14 (0xfffffff2)

### EASY_CONNECT_EVENT_FAILURE_ENROLLEE_REJECTED_CONFIGURATION

Added in [API level 30](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final int EASY_CONNECT_EVENT_FAILURE_ENROLLEE_REJECTED_CONFIGURATION
```

Easy Connect R2 Failure event: Enrollee rejected the configuration.

<br />

Constant Value: -12 (0xfffffff4)

### EASY_CONNECT_EVENT_FAILURE_GENERIC

Added in [API level 30](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final int EASY_CONNECT_EVENT_FAILURE_GENERIC
```

Easy Connect Failure event: General protocol failure.

<br />

Constant Value: -7 (0xfffffff9)

### EASY_CONNECT_EVENT_FAILURE_INVALID_NETWORK

Added in [API level 30](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final int EASY_CONNECT_EVENT_FAILURE_INVALID_NETWORK
```

Easy Connect Failure event: Invalid network provided to Easy Connect configurator. Network must either be WPA3-Personal (SAE) or WPA2-Personal (PSK).

<br />

Constant Value: -9 (0xfffffff7)

### EASY_CONNECT_EVENT_FAILURE_INVALID_URI

Added in [API level 30](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final int EASY_CONNECT_EVENT_FAILURE_INVALID_URI
```

Easy Connect Failure event: Scanned QR code is either not a Easy Connect URI, or the Easy Connect URI has errors.

<br />

Constant Value: -1 (0xffffffff)

### EASY_CONNECT_EVENT_FAILURE_NOT_COMPATIBLE

Added in [API level 30](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final int EASY_CONNECT_EVENT_FAILURE_NOT_COMPATIBLE
```

Easy Connect Failure event: Both devices are implementing the same role and are incompatible.

<br />

Constant Value: -3 (0xfffffffd)

### EASY_CONNECT_EVENT_FAILURE_NOT_SUPPORTED

Added in [API level 30](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final int EASY_CONNECT_EVENT_FAILURE_NOT_SUPPORTED
```

Easy Connect Failure event: Feature or option is not supported.

<br />

Constant Value: -8 (0xfffffff8)

### EASY_CONNECT_EVENT_FAILURE_TIMEOUT

Added in [API level 30](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final int EASY_CONNECT_EVENT_FAILURE_TIMEOUT
```

Easy Connect Failure event: No response from the peer.

<br />

Constant Value: -6 (0xfffffffa)

### EASY_CONNECT_EVENT_FAILURE_URI_GENERATION

Added in [API level 31](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final int EASY_CONNECT_EVENT_FAILURE_URI_GENERATION
```

Easy Connect Failure event: System failed to generate DPP URI.

<br />

Constant Value: -13 (0xfffffff3)