Added in API level 31
WifiManager.SuggestionUserApprovalStatusListener
public
static
interface
WifiManager.SuggestionUserApprovalStatusListener
android.net.wifi.WifiManager.SuggestionUserApprovalStatusListener |
Interface for network suggestion user approval status change listener.
Should be implemented by applications and registered using
WifiManager.addSuggestionUserApprovalStatusListener(java.util.concurrent.Executor, android.net.wifi.WifiManager.SuggestionUserApprovalStatusListener)
(
Summary
Public methods | |
---|---|
abstract
void
|
onUserApprovalStatusChange(int status)
Called when the user approval status of the App has changed. |
Public methods
onUserApprovalStatusChange
Added in API level 31
public abstract void onUserApprovalStatusChange (int status)
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 WifiManager.STATUS_SUGGESTION_APPROVAL_UNKNOWN , WifiManager.STATUS_SUGGESTION_APPROVAL_PENDING , WifiManager.STATUS_SUGGESTION_APPROVAL_APPROVED_BY_USER , WifiManager.STATUS_SUGGESTION_APPROVAL_REJECTED_BY_USER , or WifiManager.STATUS_SUGGESTION_APPROVAL_APPROVED_BY_CARRIER_PRIVILEGE |