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

# WifiManager.SuggestionUserApprovalStatusListener

*** ** * ** ***


`
public
static


interface
WifiManager.SuggestionUserApprovalStatusListener
`


`


`

|---|
| android.net.wifi.WifiManager.SuggestionUserApprovalStatusListener |

<br />

*** ** * ** ***

Interface for network suggestion user approval status change listener.
Should be implemented by applications and registered using
`https://developer.android.com/reference/android/net/wifi/WifiManager#addSuggestionUserApprovalStatusListener(java.util.concurrent.Executor,%20android.net.wifi.WifiManager.SuggestionUserApprovalStatusListener)` (

## Summary

| ### Public methods ||
|---|---|
| ` abstract void` | ` https://developer.android.com/reference/android/net/wifi/WifiManager.SuggestionUserApprovalStatusListener#onUserApprovalStatusChange(int)(int status) ` Called when the user approval status of the App has changed. |

## Public methods

### onUserApprovalStatusChange

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

```
public abstract void onUserApprovalStatusChange (int status)
```

Called when the user approval status of the App has changed.

<br />

| Parameters ||
|---|---|
| `status` | `int`: The current status code for the user approval. One of the `STATUS_SUGGESTION_APPROVAL_` values. Value is one of the following: - `https://developer.android.com/reference/android/net/wifi/WifiManager#STATUS_SUGGESTION_APPROVAL_UNKNOWN` - `https://developer.android.com/reference/android/net/wifi/WifiManager#STATUS_SUGGESTION_APPROVAL_PENDING` - `https://developer.android.com/reference/android/net/wifi/WifiManager#STATUS_SUGGESTION_APPROVAL_APPROVED_BY_USER` - `https://developer.android.com/reference/android/net/wifi/WifiManager#STATUS_SUGGESTION_APPROVAL_REJECTED_BY_USER` - `https://developer.android.com/reference/android/net/wifi/WifiManager#STATUS_SUGGESTION_APPROVAL_APPROVED_BY_CARRIER_PRIVILEGE` |