Added in API level 36
  
  
  
  
TetheringManager.TetheringEventCallback
  public
  static
  
  
  interface
  TetheringManager.TetheringEventCallback
  
  
  
| android.net.TetheringManager.TetheringEventCallback | 
Callback for use with ERROR(/registerTetheringEventCallback) to find out tethering
 upstream status.
Summary
Public methods | |
|---|---|
        
        default
        
        
        
        void
     | 
  
    
      
      onTetheredInterfacesChanged(Set<TetheringInterface> interfaces)
      
      
        Called when there was a change in the list of tethered interfaces.  | 
  
Public methods
onTetheredInterfacesChanged
    Added in API level 36
  
      
  
    public void onTetheredInterfacesChanged (Set<TetheringInterface> interfaces)
Called when there was a change in the list of tethered interfaces.
This will be called immediately after the callback is registered, and may be called multiple times later upon changes.
| Parameters | |
|---|---|
interfaces | 
        
          Set: The set of 0 or more TetheringInterface of currently tethered
 interface.
 This value cannot be null. |