class DJIRecordVideoAction
@interface DJIRecordVideoAction : DJIMissionAction
Description:
This class represents a video recording action used as an element in a Timeline mission. By creating an object of this class and adding it to Mission Control's Timeline, the camera can start or stop video recording when the Timeline reaches the action.
Class Members:
method initWithDuration
- (instancetype _Nullable)initWithDuration:(double )duration
Header: DJIRecordVideoAction.h
Description:
Initialize instance with video recording duration in seconds.
double duration Time in seconds.
Return:
method initWithStartRecordVideo
- (instancetype _Nullable)initWithStartRecordVideo
Header: DJIRecordVideoAction.h
Description:
Initialize instance for start video recording only.
Return:
method initWithStopRecordVideo
- (instancetype _Nullable)initWithStopRecordVideo
Header: DJIRecordVideoAction.h
Description:
Initialize instance for stop video recording only.
Return:
const DJIRecordVideoActionErrorDomain
extern const NSErrorDomain DJIRecordVideoActionErrorDomain
Header: DJIRecordVideoAction.h
Description:
The error domain associated with errors specific to DJIRecordVideoAction
.
enum DJIRecordVideoActionError
typedef NS_ENUM (NSInteger , DJIRecordVideoActionError)
Header: DJIRecordVideoAction.h
Description:
Error codes for DJIRecordVideoActionErrorDomain
.
Enum Members:
DJIRecordVideoActionErrorUnknownDefault error. DJIRecordVideoActionErrorInvalidDurationDuration value is invalid (less than 0).