OnVideoEvent

<< Click to Display Table of Contents >>

Manual > Control Reference > Other > Video recorder control > Events >

OnVideoEvent


 

Occurs during a video event.

 


syntax

event OnVideoEvent (

         name,

         type,

         value

         )

 


Parameters

 

name

 

Type:

character

 

Recording name.

 

type

 

Type:

character

 

"OPEN" - When opening

"ERROR_OPEN" - Open failure

"READY" - Recording is ready (the Start/StartOneshot methods can be called)

"CONNECT" - Connection status with the camera. If connected, TRUE is passed to value, otherwise FALSE is passed.

Called whenever the connection state changes, in case the connection becomes temporarily unstable.

"CLOSE" - When closing

"STARTONESHOT" - When one-shot recording starts

"START" - When recording starts

"STOP" - When recording stops

"COMPLETE_FILE" - Fired every time a file is created. value is passed the name of the created file.

"COMPLETE_RECORDING" - Recording is finished (the next Start/StartOneshot method can be called)

"COMPLETE_DOWNLOAD" - When the download is complete. value is set to the name of the created file.

Furthermore, if you call the CancelDownload method, or if the download is not completed and you close the form in which the control resides, the file will not be generated and the event will not occur.

"FAIL_DOWNLOAD" - When the download fails

"RESTART" - When a system restart occurs due to a system error.

 

 

value

 

Type:

General purpose

 

A value according to type is set.