|
|
|
|
<Camera>.VideoStop (Function) In french: <Caméra>.VidéoArrête Stops the video recording previously started by <Camera>.VideoStart. Remark: This function can only be used with a Camera control in version 27 or higher (the "Version-26-compatible mode" option should not be checked in the "General" tab of the control description window).
ChronoStart()
TimerSys(TimerSys_Callback,1s)
INTERNAL Procedure TimerSys_Callback()
dDuration is Duration = ChronoValue()
STC_CPT_VIDEO = dDuration.ToString("HH:MM:SS")
END
CAM_Camera.VideoStart(CameraVideoStart_Callback)
INTERNAL Procedure CameraVideoStart_Callback(bSuccess is boolean, VideoPath is string)
ChronoEnd()
EndTimerSys()
STC_CPT_VIDEO = "00:00:00"
IF bSuccess THEN
STC_VIDEO_PATH = VideoPath
MyWindow.Plane = 4
ELSE
ToastDisplay("Cannot record video." + CR + ErrorInfo())
END
END
// Stop video CAM_Camera.VideoStop()
Syntax
<Camera control>.VideoStop()
<Camera control>: Control name Name of the Camera control that records the video. Component: wd280android.aar
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|