DJI Mobile SDK Documentation

      class DUXPreFlightStatusWidget

      @interface DUXPreFlightStatusWidget : DUXWidget
      Header:DUXPreFlightStatusWidget.h
      Inherits From:DUXWidget
      Display:

      The text shows a summary of the preflight checklist situation of the aircraft. The color of the background changes depends on how severe the situation is. Green indicates everything is ok. Yellow indicates something is at warning level. Red indicates something is wrong and aircraft won't take off.

      Interaction:

      Tapping on status text will toggle between show and hide DUXPreflightChecklistController.

      Usage:

      Preferred Aspect Ratio: 297:32.

      Class Members:
      property
      property currentState
      @property DUXPreFlightStatusWidgetState currentState
      Header:DUXPreFlightStatusWidget.h
      Description:

      The current state of the preflight checklist system used by this widget

      property currentMessage
      @property NSString *currentMessage
      Header:DUXPreFlightStatusWidget.h
      Description:

      The current message being displayed

      property scrollingType
      @property (nonatomic, assign) DUXPreFlightStatusWidgetScrollingType scrollingType
      Header:DUXPreFlightStatusWidget.h
      Description:

      Scrolling type for message which might be longer than the widget