kvision / pl.treksoft.kvision.cordova / MediaCapture / captureVideo

captureVideo

suspend fun captureVideo(limit: Number = 1, duration: Number? = null, lowQuality: Boolean = false): Result<List<MediaFile>, CaptureException>

Capture video file(s).

Parameters

limit - The maximum number of video clips the user can capture in a single capture operation.

duration - The maximum duration of an video clip, in seconds.

lowQuality - Capture video with a lower quality (Android only)