ActionChooserView.ActionChooserListener

public static interface ActionChooserView.ActionChooserListener

android.support.wearable.view.ActionChooserView.ActionChooserListener


This interface is deprecated.
this interface is deprecated along with the rest of this class.

Interface for receiving callbacks about options chosen from an ActionChooserView.

Summary

Public methods

abstract void onOptionChosen(int option)

Called when an option has been chosen.

abstract void onOptionProgress(float percent)

Called to update the percentage an item has been selected

Public methods

onOptionChosen

public abstract void onOptionChosen (int option)

Called when an option has been chosen.

Parameters
option int: the option chosen. see ActionChooserView.OPTION_START and ActionChooserView.OPTION_END.

onOptionProgress

public abstract void onOptionProgress (float percent)

Called to update the percentage an item has been selected

Parameters
percent float: the progress of an item being selected, ranging from 0 to 1.