DJIRecordVideoStep

@interface DJIRecordVideoStep : DJIMissionStep

This class represents a step related to video-recording for a custom mission. By creating an object of this class and adding it into a custom mission, the user can record video during the custom mission execution.

  • Initialized instance with duration.

    Declaration

    Objective-C

    - (instancetype _Nullable)initWithDuration:(double)duration;

    Parameters

    duration

    Duration in seconds for recording video.

    Return Value

    Instance of DJIRecordVideoStep

  • Initialized instance for start video recording only.

    Declaration

    Objective-C

    - (instancetype _Nullable)initWithStartRecordVideo;

    Return Value

    Instance of DJIRecordVideoStep

  • Initialized instance for stop video recording only.

    Declaration

    Objective-C

    - (instancetype _Nullable)initWithStopRecordVideo;

    Return Value

    Instance of DJIRecordVideoStep