interface WidgetValueChangedCallback |
Package: | dji.sdk.payload |
This interface provides a callback to get value of the widget when changed.
void onWidgetValueChanged(PayloadWidget.PayloadWidgetType type, int index, int newValue) |
Package: | dji.sdk.payload |
Called when the value of the widget is changed.
PayloadWidget.PayloadWidgetType type | The enum value of PayloadWidgetType . |
int index | The index of the widget. |
int newValue | An int value. |
{{searchCount}} Results