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:
property warningLevel
@property (nonatomic, assign, readonly) DJIWarningStatusLevel warningLevel
|
| Header: | DJIWarningStatusItem.h |
Description:
The warning level of the message.
See Also:
DJIWarningStatusLevel
property message
@property (nonatomic, copy, readonly) NSString* message
|
| Header: | DJIWarningStatusItem.h |
Description:
Get the message of the warning status item.
property isUrgent
@property (nonatomic, assign, readonly) BOOL isUrgent
|
| Header: | DJIWarningStatusItem.h |
Description:
Get the urgency of the message.
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:
| DJIWarningStatusLevelNone | The status has an undetermined warning level. |
| DJIWarningStatusLevelOffline | The status is offline. |
| DJIWarningStatusLevelGood | The status is good. |
| DJIWarningStatusLevelWarning | The status is a warning. |
| DJIWarningStatusLevelError | The status is an error. |