Added in API level 36
TetheringEventCallback
interface TetheringEventCallback
| android.net.TetheringManager.TetheringEventCallback |
Callback for use with registerTetheringEventCallback to find out tethering upstream status.
Summary
| Public methods | |
|---|---|
| open Unit |
onTetheredInterfacesChanged(interfaces: MutableSet<TetheringInterface!>)Called when there was a change in the list of tethered interfaces. |
Public methods
onTetheredInterfacesChanged
Added in API level 36
open fun onTetheredInterfacesChanged(interfaces: MutableSet<TetheringInterface!>): Unit
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 |
MutableSet<TetheringInterface!>: The set of 0 or more TetheringInterface of currently tethered interface. This value cannot be null. |