TetheringManager.StartTetheringCallback


public static interface TetheringManager.StartTetheringCallback

android.net.TetheringManager.StartTetheringCallback


Callback for use with TetheringManager.startTethering(TetheringRequest, Executor, StartTetheringCallback) to find out whether tethering succeeded.

Summary

Public methods

default void onTetheringFailed(int error)

Called when starting tethering failed.

default void onTetheringStarted()

Called when tethering has been successfully started.

Public methods

onTetheringStarted

public void onTetheringStarted ()

Called when tethering has been successfully started.