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.
Set the expected action camera index. For example there are two cameras in M210, if you want to run action on camera I, you can either set the index as 0 or do nothing because of the default index is 0; if you want to run action on camera II, you need set the index as 1. Default index is 0 if user does not call this method to specify the index.
Input Parameters:
int index
Index of the camera on which the action is expected to run.
Sets the time you want to delay before element execution which is used for asynchronous processing scenarios. For example, if you want to execute GimbalAttitudeAction after ShootPhotoAction, you should set delay time in GimbalAttitudeAction. Because it takes 1 to 2 seconds to take a photo, the gimbal's commands will not be responded during this period, so we need to delay 2 seconds before turning the gimbal to ensure that the gimbal movement is executed correctly.
Input Parameters:
long delayTime
The time you want to delay before element execution, unit:second.