public
static
interface
ActionChooserView.ActionChooserListener
| android.support.wearable.view.ActionChooserView.ActionChooserListener |
Interface for receiving callbacks about options chosen from an ActionChooserView.
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 |
void onOptionChosen (int option)
Called when an option has been chosen.
| Parameters | |
|---|---|
option |
int:
the option chosen. see OPTION_START and OPTION_END.
|
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.
|