blob: 9b9c3b49cf83c937ce01751d01ddd3a42283c407 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
<HTML>
<HEAD>
<meta charset="UTF-8">
<title>MediaCapture.captureVideo - kvision</title>
<link rel="stylesheet" href="../../../style.css">
</HEAD>
<BODY>
<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.cordova</a> / <a href="index.html">MediaCapture</a> / <a href="./capture-video.html">captureVideo</a><br/>
<br/>
<h1>captureVideo</h1>
<a name="pl.treksoft.kvision.cordova.MediaCapture$captureVideo(kotlin.Number, kotlin.Number, kotlin.Boolean)"></a>
<code><span class="keyword">suspend</span> <span class="keyword">fun </span><span class="identifier">captureVideo</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.cordova.MediaCapture$captureVideo(kotlin.Number, kotlin.Number, kotlin.Boolean)/limit">limit</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-number/index.html"><span class="identifier">Number</span></a> <span class="symbol">=</span> 1<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.cordova.MediaCapture$captureVideo(kotlin.Number, kotlin.Number, kotlin.Boolean)/duration">duration</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-number/index.html"><span class="identifier">Number</span></a><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.cordova.MediaCapture$captureVideo(kotlin.Number, kotlin.Number, kotlin.Boolean)/lowQuality">lowQuality</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a> <span class="symbol">=</span> false<span class="symbol">)</span><span class="symbol">: </span><a href="../-result/index.html"><span class="identifier">Result</span></a><span class="symbol"><</span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html"><span class="identifier">List</span></a><span class="symbol"><</span><a href="../-media-file/index.html"><span class="identifier">MediaFile</span></a><span class="symbol">></span><span class="symbol">,</span> <a href="../-capture-exception/index.html"><span class="identifier">CaptureException</span></a><span class="symbol">></span></code>
<p>Capture video file(s).</p>
<h3>Parameters</h3>
<p><a name="limit"></a>
<code>limit</code> - The maximum number of video clips the user can capture in a single capture operation.</p>
<p><a name="duration"></a>
<code>duration</code> - The maximum duration of an video clip, in seconds.</p>
<p><a name="lowQuality"></a>
<code>lowQuality</code> - Capture video with a lower quality (Android only)</p>
</BODY>
</HTML>
|