Added in API level 31
SuggestionUserApprovalStatusListener
interface SuggestionUserApprovalStatusListener
android.net.wifi.WifiManager.SuggestionUserApprovalStatusListener |
Interface for network suggestion user approval status change listener. Should be implemented by applications and registered using addSuggestionUserApprovalStatusListener(java.util.concurrent.Executor,android.net.wifi.WifiManager.SuggestionUserApprovalStatusListener)
(
Summary
Public methods | |
---|---|
abstract Unit |
onUserApprovalStatusChange(status: Int) Called when the user approval status of the App has changed. |
Public methods
onUserApprovalStatusChange
Added in API level 31
abstract fun onUserApprovalStatusChange(status: Int): Unit
Called when the user approval status of the App has changed.
Parameters | |
---|---|
status |
Int: The current status code for the user approval. One of the STATUS_SUGGESTION_APPROVAL_ values. Value is android.net.wifi.WifiManager#STATUS_SUGGESTION_APPROVAL_UNKNOWN , android.net.wifi.WifiManager#STATUS_SUGGESTION_APPROVAL_PENDING , android.net.wifi.WifiManager#STATUS_SUGGESTION_APPROVAL_APPROVED_BY_USER , android.net.wifi.WifiManager#STATUS_SUGGESTION_APPROVAL_REJECTED_BY_USER , or android.net.wifi.WifiManager#STATUS_SUGGESTION_APPROVAL_APPROVED_BY_CARRIER_PRIVILEGE |