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

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 one of the following: