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 theSTATUS_SUGGESTION_APPROVAL_values.
 Value isWifiManager.STATUS_SUGGESTION_APPROVAL_UNKNOWN,WifiManager.STATUS_SUGGESTION_APPROVAL_PENDING,WifiManager.STATUS_SUGGESTION_APPROVAL_APPROVED_BY_USER,WifiManager.STATUS_SUGGESTION_APPROVAL_REJECTED_BY_USER, orWifiManager.STATUS_SUGGESTION_APPROVAL_APPROVED_BY_CARRIER_PRIVILEGE | 
