class ReturnHomeWidget
class ReturnHomeWidget extends ButtonWidget
|
Package: | dji.ux.widget |
Inherits From: | ButtonWidget |
Display:
Widget has two states with two different interactions.
- White icon with arrow down indicates the aircraft is flying and the widget
interaction is to start returning home.
- Red icon indicates the aircraft is returning home and the widget interaction is
to cancel returning home.
Interaction:
Tapping the widget will open up a Dialog to confirm the desired action. Slide the dialog from left to right to start the action.
Usage:
Preferred Aspect Ratio: 1:1. Widget needs to be in Activity context for showing Dialog
Class Members: