class TakeOffWidget extends ButtonWidget |
Package: | dji.ux.widget |
Inherits From: | ButtonWidget |
Widget has three states with three different interactions.
Tapping the widget will open up a Dialog to confirm the desired action. Slide the dialog from left to right to start the action.
Preferred Aspect Ratio: 1:1 Widget needs to be in Activity context to show Dialog
|
Package: | dji.ux.widget |
Triggers when take off status changes.
boolean isTakingOff | true if taking off, false otherwise |
|
Package: | dji.ux.widget |
Triggers when landing status changes.
boolean isLanding | true if in process of landing, false otherwise |
|
Package: | dji.ux.widget |
Performs take off action @see #onTakeOffActionResult
to listen on the action result by overridding
|
Package: | dji.ux.widget |
Performs landing action @see #onLandingActionResult
to listen on the action result by overridding
|
Package: | dji.ux.widget |
Performs cancel landing action @see #onCancelLandingActionResult
to listen on the action result by overridding
void performLandingConfirmationAction() |
Package: | dji.ux.widget |
Performs the landing confirmation action. This allows aircraft to land when landing confirmation is received.
|
Package: | dji.ux.widget |
Triggers when take off action completes @see #performTakeOffAction
@Nullable DJIError error | error object, or null if no error has occurred |
|
Package: | dji.ux.widget |
Triggers when landing action completes @see #performLandingAction
@Nullable DJIError error | error object, or null if no error has occurred |
|
Package: | dji.ux.widget |
Triggers when cancel landing action completes @see #performCancelLandingAction
@Nullable DJIError error | error object, or null if no error has occurred |
|
Package: | dji.ux.widget |
Triggers when confirm landing action completes.
DJIError error | error object, or null if no error has occurred. |
|
Package: | dji.ux.widget |
Triggers when TakeOff Widget changes between being enabled or not.
boolean enabled | Current state that is true if button is enabled. |