public static interface ActionChooserView.ActionChooserListener
android.support.wearable.view.ActionChooserView.ActionChooserListener |
用于接收关于从 ActionChooserView
选择的选项的回调接口。
Public methods |
|
---|---|
abstract void |
onOptionChosen(int option) 当选择一个选项时调用。 |
abstract void |
onOptionProgress(float percent) 打电话更新一个项目被选中的百分比 |
void onOptionChosen (int option)
当选择一个选项时调用。
Parameters | |
---|---|
option |
int : the option chosen. see OPTION_START and OPTION_END . |
void onOptionProgress (float percent)
打电话更新一个项目被选中的百分比
Parameters | |
---|---|
percent |
float : the progress of an item being selected, ranging from 0 to 1. |