Added in API level Baklava
StartTetheringCallback
interface StartTetheringCallback
android.net.TetheringManager.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 Baklava
open fun onTetheringFailed(error: Int): Unit
Called when starting tethering failed.
onTetheringStarted
Added in API level Baklava
open fun onTetheringStarted(): Unit
Called when tethering has been successfully started.