Added in API level 36
StartTetheringCallback
Stay organized with collections
Save and categorize content based on your preferences.
interface StartTetheringCallback
Callback for use with startTethering
to find out whether tethering succeeded.
Summary
Public methods | |
---|---|
open Unit |
onTetheringFailed(error: Int) Called when starting tethering failed. |
open Unit |
Called when tethering has been successfully started. |
Public methods
onTetheringFailed
Added in API level 36
open fun onTetheringFailed(error: Int): Unit
Called when starting tethering failed.
onTetheringStarted
Added in API level 36
open fun onTetheringStarted(): Unit
Called when tethering has been successfully started.