void startVideo(int, bool, bool, bool, bool, int, bool, int)
Starts a video recording with specific settings.
Parameters
Name | Description |
index |
int The index of the camera ID to use. |
showExitButton |
bool If true, the exit button is displayed on the camera activity. If false, no button is shown. |
showSwitchButton |
bool If true, the switch camera button is displayed on the camera activity. If false, no button is shown. |
showCaptureButton |
bool If true, the image capture button is displayed on the camera activity. If false, no button is shown. |
showCountdownButton |
bool If true, a countdown of time remaining is displayed on the camera activity. If false, no button is shown. |
delaySeconds |
int The number of seconds to delay before starting to record. |
showPreview |
bool If true, a preview of the recording will be displayed during recording. If false, no preview is shown. |
duration |
int The number of seconds during which to record video. |
Return
Returns nothing.
Examples
// record a 10-second long video with preview and countdown.
KWCamera.startVideo(0, false, false, false, true, 0, true, 10);
Requirements
KioWare for Android version 3.14 or greater.