DJI Mobile SDK Documentation

      class DUXPreflightChecklistItem

      @interface DUXPreflightChecklistItem : NSObject <DUXObjectProtocol>
      Header:DUXPreflightChecklistItem.h
      Inherits From:NSObject
      Description:

      Base class for all items to be used by the DUXPreflightChecklistManager

      Class Members:
      property
      property pictogram
      @property (readonly, nonnull) UIImage *pictogram
      Header:DUXPreflightChecklistItem.h
      Description:

      A small default image to be used with the item in the UI context.

      method startChecking
      - (void)startChecking
      Header:DUXPreflightChecklistItem.h
      Description:

      Start checking for the state defining whether this item is ready to fly or not

      method stopChecking
      - (void)stopChecking
      Header:DUXPreflightChecklistItem.h
      Description:

      Stops checking for the state defining whether this item is ready to fly or not

      property shortStateDetails
      @property (strong, nonatomic, nullable) NSString *shortStateDetails
      Header:DUXPreflightChecklistItem.h
      Description:

      A one or two words describing the current state of the item or its activity.

      property
      property title
      @property (strong, nonatomic, nullable) NSString *title
      Header:DUXPreflightChecklistItem.h
      Description:

      A short string describing the item. Should not change during the item's life cycle.

      property
      property manager
      @property (weak, nonatomic, nullable) DUXPreflightChecklistManager *manager
      Header:DUXPreflightChecklistItem.h
      Description:

      The Preflight checklist manager this item is assigned to. This will be set by the manager when the item is added to it.

      See Also:

      DUXPreflightChecklistManager

      property readyToFlyStates
      @property (strong, nonatomic, nonnull) NSArray *readyToFlyStates
      Header:DUXPreflightChecklistItem.h
      Description:

      The list of states which the item considers as ok and ready to fly.

      property
      property stateDetails
      @property (strong, nonatomic, nullable) NSString *stateDetails
      Header:DUXPreflightChecklistItem.h
      Description:

      A more elaborate string that describes the current state of the item or its activity.

      property
      property isReadyToFly
      @property (nonatomic, readonly) BOOL isReadyToFly
      Header:DUXPreflightChecklistItem.h
      Description:

      The ready to fly state of the item.

      property
      property state
      @property (nonatomic) DUXPreflightChecklistItemState state
      Header:DUXPreflightChecklistItem.h
      Description:

      The current state of the item.