DJI Mobile SDK Documentation

      class DJIWarningStatusItem

      @interface DJIWarningStatusItem : NSObject <NSCopying>
      Header:DJIWarningStatusItem.h
      Inherits From:NSObject
      Description:

      This class wraps the required elements of the status into one WarningStatusItem.

      Class Members:
      Warning Level
      property
      property warningLevel
      @property (nonatomic, assign, readonly) DJIWarningStatusLevel warningLevel
      Header:DJIWarningStatusItem.h
      Description:

      The warning level of the message.

      See Also:

      DJIWarningStatusLevel

      Message
      property
      property message
      @property (nonatomic, copy, readonly) NSString* message
      Header:DJIWarningStatusItem.h
      Description:

      Get the message of the warning status item.

      Message Urgency
      property
      property isUrgent
      @property (nonatomic, assign, readonly) BOOL isUrgent
      Header:DJIWarningStatusItem.h
      Description:

      Get the urgency of the message.

      Extra Info
      property
      property extraInfo
      @property (nonatomic, copy, readonly) NSDictionary* extraInfo
      Header:DJIWarningStatusItem.h
      Description:

      Additional information. For example: Height limit, Distance from the home point, etc.

      property shouldRemoveWhenAircraftDisconnected
      @property (nonatomic, assign, readonly) BOOL shouldRemoveWhenAircraftDisconnected
      Header:DJIWarningStatusItem.h
      Description:

      Whether to remove automatically when the aircraft is disconnected.

      enum DJIWarningStatusLevel
      typedef NS_ENUM(NSUInteger, DJIWarningStatusLevel)
      Header:DJIWarningStatusItem.h
      Description:

      The warning level of the status.

      Enum Members:
      DJIWarningStatusLevelNoneThe status has an undetermined warning level.
      DJIWarningStatusLevelOfflineThe status is offline.
      DJIWarningStatusLevelGoodThe status is good.
      DJIWarningStatusLevelWarningThe status is a warning.
      DJIWarningStatusLevelErrorThe status is an error.