TetheringEventCallback


interface TetheringEventCallback
android.net.TetheringManager.TetheringEventCallback

Callback for use with registerTetheringEventCallback to find out tethering upstream status.

Summary

Public methods
open Unit

Called when there was a change in the list of tethered interfaces.

Public methods

onTetheredInterfacesChanged

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.