aboutsummaryrefslogtreecommitdiff
path: root/api/pl.treksoft.kvision.cordova/-media-capture
diff options
context:
space:
mode:
Diffstat (limited to 'api/pl.treksoft.kvision.cordova/-media-capture')
-rw-r--r--api/pl.treksoft.kvision.cordova/-media-capture/-capture-error-code/-c-a-p-t-u-r-e_-a-p-p-l-i-c-a-t-i-o-n_-b-u-s-y.html14
-rw-r--r--api/pl.treksoft.kvision.cordova/-media-capture/-capture-error-code/-c-a-p-t-u-r-e_-i-n-t-e-r-n-a-l_-e-r-r.html14
-rw-r--r--api/pl.treksoft.kvision.cordova/-media-capture/-capture-error-code/-c-a-p-t-u-r-e_-i-n-v-a-l-i-d_-a-r-g-u-m-e-n-t.html14
-rw-r--r--api/pl.treksoft.kvision.cordova/-media-capture/-capture-error-code/-c-a-p-t-u-r-e_-n-o-t_-s-u-p-p-o-r-t-e-d.html14
-rw-r--r--api/pl.treksoft.kvision.cordova/-media-capture/-capture-error-code/-c-a-p-t-u-r-e_-n-o_-m-e-d-i-a_-f-i-l-e-s.html14
-rw-r--r--api/pl.treksoft.kvision.cordova/-media-capture/-capture-error-code/-c-a-p-t-u-r-e_-p-e-r-m-i-s-s-i-o-n_-d-e-n-i-e-d.html14
-rw-r--r--api/pl.treksoft.kvision.cordova/-media-capture/-capture-error-code/index.html60
-rw-r--r--api/pl.treksoft.kvision.cordova/-media-capture/add-pending-capture-listener.html15
-rw-r--r--api/pl.treksoft.kvision.cordova/-media-capture/capture-audio.html20
-rw-r--r--api/pl.treksoft.kvision.cordova/-media-capture/capture-image.html18
-rw-r--r--api/pl.treksoft.kvision.cordova/-media-capture/capture-video.html22
-rw-r--r--api/pl.treksoft.kvision.cordova/-media-capture/index.html81
12 files changed, 300 insertions, 0 deletions
diff --git a/api/pl.treksoft.kvision.cordova/-media-capture/-capture-error-code/-c-a-p-t-u-r-e_-a-p-p-l-i-c-a-t-i-o-n_-b-u-s-y.html b/api/pl.treksoft.kvision.cordova/-media-capture/-capture-error-code/-c-a-p-t-u-r-e_-a-p-p-l-i-c-a-t-i-o-n_-b-u-s-y.html
new file mode 100644
index 00000000..65daa175
--- /dev/null
+++ b/api/pl.treksoft.kvision.cordova/-media-capture/-capture-error-code/-c-a-p-t-u-r-e_-a-p-p-l-i-c-a-t-i-o-n_-b-u-s-y.html
@@ -0,0 +1,14 @@
+<HTML>
+<HEAD>
+<meta charset="UTF-8">
+<title>MediaCapture.CaptureErrorCode.CAPTURE_APPLICATION_BUSY - kvision</title>
+<link rel="stylesheet" href="../../../../style.css">
+</HEAD>
+<BODY>
+<a href="../../../index.html">kvision</a>&nbsp;/&nbsp;<a href="../../index.html">pl.treksoft.kvision.cordova</a>&nbsp;/&nbsp;<a href="../index.html">MediaCapture</a>&nbsp;/&nbsp;<a href="index.html">CaptureErrorCode</a>&nbsp;/&nbsp;<a href="./-c-a-p-t-u-r-e_-a-p-p-l-i-c-a-t-i-o-n_-b-u-s-y.html">CAPTURE_APPLICATION_BUSY</a><br/>
+<br/>
+<h1>CAPTURE_APPLICATION_BUSY</h1>
+<a name="pl.treksoft.kvision.cordova.MediaCapture.CaptureErrorCode.CAPTURE_APPLICATION_BUSY"></a>
+<code><span class="identifier">CAPTURE_APPLICATION_BUSY</span></code>
+</BODY>
+</HTML>
diff --git a/api/pl.treksoft.kvision.cordova/-media-capture/-capture-error-code/-c-a-p-t-u-r-e_-i-n-t-e-r-n-a-l_-e-r-r.html b/api/pl.treksoft.kvision.cordova/-media-capture/-capture-error-code/-c-a-p-t-u-r-e_-i-n-t-e-r-n-a-l_-e-r-r.html
new file mode 100644
index 00000000..fe163973
--- /dev/null
+++ b/api/pl.treksoft.kvision.cordova/-media-capture/-capture-error-code/-c-a-p-t-u-r-e_-i-n-t-e-r-n-a-l_-e-r-r.html
@@ -0,0 +1,14 @@
+<HTML>
+<HEAD>
+<meta charset="UTF-8">
+<title>MediaCapture.CaptureErrorCode.CAPTURE_INTERNAL_ERR - kvision</title>
+<link rel="stylesheet" href="../../../../style.css">
+</HEAD>
+<BODY>
+<a href="../../../index.html">kvision</a>&nbsp;/&nbsp;<a href="../../index.html">pl.treksoft.kvision.cordova</a>&nbsp;/&nbsp;<a href="../index.html">MediaCapture</a>&nbsp;/&nbsp;<a href="index.html">CaptureErrorCode</a>&nbsp;/&nbsp;<a href="./-c-a-p-t-u-r-e_-i-n-t-e-r-n-a-l_-e-r-r.html">CAPTURE_INTERNAL_ERR</a><br/>
+<br/>
+<h1>CAPTURE_INTERNAL_ERR</h1>
+<a name="pl.treksoft.kvision.cordova.MediaCapture.CaptureErrorCode.CAPTURE_INTERNAL_ERR"></a>
+<code><span class="identifier">CAPTURE_INTERNAL_ERR</span></code>
+</BODY>
+</HTML>
diff --git a/api/pl.treksoft.kvision.cordova/-media-capture/-capture-error-code/-c-a-p-t-u-r-e_-i-n-v-a-l-i-d_-a-r-g-u-m-e-n-t.html b/api/pl.treksoft.kvision.cordova/-media-capture/-capture-error-code/-c-a-p-t-u-r-e_-i-n-v-a-l-i-d_-a-r-g-u-m-e-n-t.html
new file mode 100644
index 00000000..b37bbd2d
--- /dev/null
+++ b/api/pl.treksoft.kvision.cordova/-media-capture/-capture-error-code/-c-a-p-t-u-r-e_-i-n-v-a-l-i-d_-a-r-g-u-m-e-n-t.html
@@ -0,0 +1,14 @@
+<HTML>
+<HEAD>
+<meta charset="UTF-8">
+<title>MediaCapture.CaptureErrorCode.CAPTURE_INVALID_ARGUMENT - kvision</title>
+<link rel="stylesheet" href="../../../../style.css">
+</HEAD>
+<BODY>
+<a href="../../../index.html">kvision</a>&nbsp;/&nbsp;<a href="../../index.html">pl.treksoft.kvision.cordova</a>&nbsp;/&nbsp;<a href="../index.html">MediaCapture</a>&nbsp;/&nbsp;<a href="index.html">CaptureErrorCode</a>&nbsp;/&nbsp;<a href="./-c-a-p-t-u-r-e_-i-n-v-a-l-i-d_-a-r-g-u-m-e-n-t.html">CAPTURE_INVALID_ARGUMENT</a><br/>
+<br/>
+<h1>CAPTURE_INVALID_ARGUMENT</h1>
+<a name="pl.treksoft.kvision.cordova.MediaCapture.CaptureErrorCode.CAPTURE_INVALID_ARGUMENT"></a>
+<code><span class="identifier">CAPTURE_INVALID_ARGUMENT</span></code>
+</BODY>
+</HTML>
diff --git a/api/pl.treksoft.kvision.cordova/-media-capture/-capture-error-code/-c-a-p-t-u-r-e_-n-o-t_-s-u-p-p-o-r-t-e-d.html b/api/pl.treksoft.kvision.cordova/-media-capture/-capture-error-code/-c-a-p-t-u-r-e_-n-o-t_-s-u-p-p-o-r-t-e-d.html
new file mode 100644
index 00000000..126090bb
--- /dev/null
+++ b/api/pl.treksoft.kvision.cordova/-media-capture/-capture-error-code/-c-a-p-t-u-r-e_-n-o-t_-s-u-p-p-o-r-t-e-d.html
@@ -0,0 +1,14 @@
+<HTML>
+<HEAD>
+<meta charset="UTF-8">
+<title>MediaCapture.CaptureErrorCode.CAPTURE_NOT_SUPPORTED - kvision</title>
+<link rel="stylesheet" href="../../../../style.css">
+</HEAD>
+<BODY>
+<a href="../../../index.html">kvision</a>&nbsp;/&nbsp;<a href="../../index.html">pl.treksoft.kvision.cordova</a>&nbsp;/&nbsp;<a href="../index.html">MediaCapture</a>&nbsp;/&nbsp;<a href="index.html">CaptureErrorCode</a>&nbsp;/&nbsp;<a href="./-c-a-p-t-u-r-e_-n-o-t_-s-u-p-p-o-r-t-e-d.html">CAPTURE_NOT_SUPPORTED</a><br/>
+<br/>
+<h1>CAPTURE_NOT_SUPPORTED</h1>
+<a name="pl.treksoft.kvision.cordova.MediaCapture.CaptureErrorCode.CAPTURE_NOT_SUPPORTED"></a>
+<code><span class="identifier">CAPTURE_NOT_SUPPORTED</span></code>
+</BODY>
+</HTML>
diff --git a/api/pl.treksoft.kvision.cordova/-media-capture/-capture-error-code/-c-a-p-t-u-r-e_-n-o_-m-e-d-i-a_-f-i-l-e-s.html b/api/pl.treksoft.kvision.cordova/-media-capture/-capture-error-code/-c-a-p-t-u-r-e_-n-o_-m-e-d-i-a_-f-i-l-e-s.html
new file mode 100644
index 00000000..98a1c0c7
--- /dev/null
+++ b/api/pl.treksoft.kvision.cordova/-media-capture/-capture-error-code/-c-a-p-t-u-r-e_-n-o_-m-e-d-i-a_-f-i-l-e-s.html
@@ -0,0 +1,14 @@
+<HTML>
+<HEAD>
+<meta charset="UTF-8">
+<title>MediaCapture.CaptureErrorCode.CAPTURE_NO_MEDIA_FILES - kvision</title>
+<link rel="stylesheet" href="../../../../style.css">
+</HEAD>
+<BODY>
+<a href="../../../index.html">kvision</a>&nbsp;/&nbsp;<a href="../../index.html">pl.treksoft.kvision.cordova</a>&nbsp;/&nbsp;<a href="../index.html">MediaCapture</a>&nbsp;/&nbsp;<a href="index.html">CaptureErrorCode</a>&nbsp;/&nbsp;<a href="./-c-a-p-t-u-r-e_-n-o_-m-e-d-i-a_-f-i-l-e-s.html">CAPTURE_NO_MEDIA_FILES</a><br/>
+<br/>
+<h1>CAPTURE_NO_MEDIA_FILES</h1>
+<a name="pl.treksoft.kvision.cordova.MediaCapture.CaptureErrorCode.CAPTURE_NO_MEDIA_FILES"></a>
+<code><span class="identifier">CAPTURE_NO_MEDIA_FILES</span></code>
+</BODY>
+</HTML>
diff --git a/api/pl.treksoft.kvision.cordova/-media-capture/-capture-error-code/-c-a-p-t-u-r-e_-p-e-r-m-i-s-s-i-o-n_-d-e-n-i-e-d.html b/api/pl.treksoft.kvision.cordova/-media-capture/-capture-error-code/-c-a-p-t-u-r-e_-p-e-r-m-i-s-s-i-o-n_-d-e-n-i-e-d.html
new file mode 100644
index 00000000..ba11ed35
--- /dev/null
+++ b/api/pl.treksoft.kvision.cordova/-media-capture/-capture-error-code/-c-a-p-t-u-r-e_-p-e-r-m-i-s-s-i-o-n_-d-e-n-i-e-d.html
@@ -0,0 +1,14 @@
+<HTML>
+<HEAD>
+<meta charset="UTF-8">
+<title>MediaCapture.CaptureErrorCode.CAPTURE_PERMISSION_DENIED - kvision</title>
+<link rel="stylesheet" href="../../../../style.css">
+</HEAD>
+<BODY>
+<a href="../../../index.html">kvision</a>&nbsp;/&nbsp;<a href="../../index.html">pl.treksoft.kvision.cordova</a>&nbsp;/&nbsp;<a href="../index.html">MediaCapture</a>&nbsp;/&nbsp;<a href="index.html">CaptureErrorCode</a>&nbsp;/&nbsp;<a href="./-c-a-p-t-u-r-e_-p-e-r-m-i-s-s-i-o-n_-d-e-n-i-e-d.html">CAPTURE_PERMISSION_DENIED</a><br/>
+<br/>
+<h1>CAPTURE_PERMISSION_DENIED</h1>
+<a name="pl.treksoft.kvision.cordova.MediaCapture.CaptureErrorCode.CAPTURE_PERMISSION_DENIED"></a>
+<code><span class="identifier">CAPTURE_PERMISSION_DENIED</span></code>
+</BODY>
+</HTML>
diff --git a/api/pl.treksoft.kvision.cordova/-media-capture/-capture-error-code/index.html b/api/pl.treksoft.kvision.cordova/-media-capture/-capture-error-code/index.html
new file mode 100644
index 00000000..c19a6633
--- /dev/null
+++ b/api/pl.treksoft.kvision.cordova/-media-capture/-capture-error-code/index.html
@@ -0,0 +1,60 @@
+<HTML>
+<HEAD>
+<meta charset="UTF-8">
+<title>MediaCapture.CaptureErrorCode - kvision</title>
+<link rel="stylesheet" href="../../../../style.css">
+</HEAD>
+<BODY>
+<a href="../../../index.html">kvision</a>&nbsp;/&nbsp;<a href="../../index.html">pl.treksoft.kvision.cordova</a>&nbsp;/&nbsp;<a href="../index.html">MediaCapture</a>&nbsp;/&nbsp;<a href="./index.html">CaptureErrorCode</a><br/>
+<br/>
+<h1>CaptureErrorCode</h1>
+<code><span class="keyword">enum</span> <span class="keyword">class </span><span class="identifier">CaptureErrorCode</span></code>
+<h3>Enum Values</h3>
+<table>
+<tbody>
+<tr>
+<td>
+<p><a href="-c-a-p-t-u-r-e_-i-n-t-e-r-n-a-l_-e-r-r.html">CAPTURE_INTERNAL_ERR</a></p>
+</td>
+<td>
+</td>
+</tr>
+<tr>
+<td>
+<p><a href="-c-a-p-t-u-r-e_-a-p-p-l-i-c-a-t-i-o-n_-b-u-s-y.html">CAPTURE_APPLICATION_BUSY</a></p>
+</td>
+<td>
+</td>
+</tr>
+<tr>
+<td>
+<p><a href="-c-a-p-t-u-r-e_-i-n-v-a-l-i-d_-a-r-g-u-m-e-n-t.html">CAPTURE_INVALID_ARGUMENT</a></p>
+</td>
+<td>
+</td>
+</tr>
+<tr>
+<td>
+<p><a href="-c-a-p-t-u-r-e_-n-o_-m-e-d-i-a_-f-i-l-e-s.html">CAPTURE_NO_MEDIA_FILES</a></p>
+</td>
+<td>
+</td>
+</tr>
+<tr>
+<td>
+<p><a href="-c-a-p-t-u-r-e_-p-e-r-m-i-s-s-i-o-n_-d-e-n-i-e-d.html">CAPTURE_PERMISSION_DENIED</a></p>
+</td>
+<td>
+</td>
+</tr>
+<tr>
+<td>
+<p><a href="-c-a-p-t-u-r-e_-n-o-t_-s-u-p-p-o-r-t-e-d.html">CAPTURE_NOT_SUPPORTED</a></p>
+</td>
+<td>
+</td>
+</tr>
+</tbody>
+</table>
+</BODY>
+</HTML>
diff --git a/api/pl.treksoft.kvision.cordova/-media-capture/add-pending-capture-listener.html b/api/pl.treksoft.kvision.cordova/-media-capture/add-pending-capture-listener.html
new file mode 100644
index 00000000..854c5892
--- /dev/null
+++ b/api/pl.treksoft.kvision.cordova/-media-capture/add-pending-capture-listener.html
@@ -0,0 +1,15 @@
+<HTML>
+<HEAD>
+<meta charset="UTF-8">
+<title>MediaCapture.addPendingCaptureListener - kvision</title>
+<link rel="stylesheet" href="../../../style.css">
+</HEAD>
+<BODY>
+<a href="../../index.html">kvision</a>&nbsp;/&nbsp;<a href="../index.html">pl.treksoft.kvision.cordova</a>&nbsp;/&nbsp;<a href="index.html">MediaCapture</a>&nbsp;/&nbsp;<a href="./add-pending-capture-listener.html">addPendingCaptureListener</a><br/>
+<br/>
+<h1>addPendingCaptureListener</h1>
+<a name="pl.treksoft.kvision.cordova.MediaCapture$addPendingCaptureListener(kotlin.Function1((pl.treksoft.kvision.cordova.Result((kotlin.collections.List((pl.treksoft.kvision.cordova.MediaFile)), pl.treksoft.kvision.cordova.CaptureException)), kotlin.Unit)))"></a>
+<code><span class="keyword">fun </span><span class="identifier">addPendingCaptureListener</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.cordova.MediaCapture$addPendingCaptureListener(kotlin.Function1((pl.treksoft.kvision.cordova.Result((kotlin.collections.List((pl.treksoft.kvision.cordova.MediaFile)), pl.treksoft.kvision.cordova.CaptureException)), kotlin.Unit)))/listener">listener</span><span class="symbol">:</span>&nbsp;<span class="symbol">(</span><a href="../-result/index.html"><span class="identifier">Result</span></a><span class="symbol">&lt;</span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html"><span class="identifier">List</span></a><span class="symbol">&lt;</span><a href="../-media-file/index.html"><span class="identifier">MediaFile</span></a><span class="symbol">&gt;</span><span class="symbol">,</span>&nbsp;<a href="../-capture-exception/index.html"><span class="identifier">CaptureException</span></a><span class="symbol">&gt;</span><span class="symbol">)</span>&nbsp;<span class="symbol">-&gt;</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html"><span class="identifier">Unit</span></a><span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html"><span class="identifier">Unit</span></a></code>
+<p>Add listeners for pending capture Cordova events.</p>
+</BODY>
+</HTML>
diff --git a/api/pl.treksoft.kvision.cordova/-media-capture/capture-audio.html b/api/pl.treksoft.kvision.cordova/-media-capture/capture-audio.html
new file mode 100644
index 00000000..3e8750ff
--- /dev/null
+++ b/api/pl.treksoft.kvision.cordova/-media-capture/capture-audio.html
@@ -0,0 +1,20 @@
+<HTML>
+<HEAD>
+<meta charset="UTF-8">
+<title>MediaCapture.captureAudio - kvision</title>
+<link rel="stylesheet" href="../../../style.css">
+</HEAD>
+<BODY>
+<a href="../../index.html">kvision</a>&nbsp;/&nbsp;<a href="../index.html">pl.treksoft.kvision.cordova</a>&nbsp;/&nbsp;<a href="index.html">MediaCapture</a>&nbsp;/&nbsp;<a href="./capture-audio.html">captureAudio</a><br/>
+<br/>
+<h1>captureAudio</h1>
+<a name="pl.treksoft.kvision.cordova.MediaCapture$captureAudio(kotlin.Number, kotlin.Number)"></a>
+<code><span class="keyword">suspend</span> <span class="keyword">fun </span><span class="identifier">captureAudio</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.cordova.MediaCapture$captureAudio(kotlin.Number, kotlin.Number)/limit">limit</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-number/index.html"><span class="identifier">Number</span></a>&nbsp;<span class="symbol">=</span>&nbsp;1<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.cordova.MediaCapture$captureAudio(kotlin.Number, kotlin.Number)/duration">duration</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-number/index.html"><span class="identifier">Number</span></a><span class="symbol">?</span>&nbsp;<span class="symbol">=</span>&nbsp;null<span class="symbol">)</span><span class="symbol">: </span><a href="../-result/index.html"><span class="identifier">Result</span></a><span class="symbol">&lt;</span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html"><span class="identifier">List</span></a><span class="symbol">&lt;</span><a href="../-media-file/index.html"><span class="identifier">MediaFile</span></a><span class="symbol">&gt;</span><span class="symbol">,</span>&nbsp;<a href="../-capture-exception/index.html"><span class="identifier">CaptureException</span></a><span class="symbol">&gt;</span></code>
+<p>Capture audio file(s).</p>
+<h3>Parameters</h3>
+<p><a name="limit"></a>
+<code>limit</code> - The maximum number of audio clips the user can capture in a single capture operation.</p>
+<p><a name="duration"></a>
+<code>duration</code> - The maximum duration of an audio clip, in seconds.</p>
+</BODY>
+</HTML>
diff --git a/api/pl.treksoft.kvision.cordova/-media-capture/capture-image.html b/api/pl.treksoft.kvision.cordova/-media-capture/capture-image.html
new file mode 100644
index 00000000..0bd81bc7
--- /dev/null
+++ b/api/pl.treksoft.kvision.cordova/-media-capture/capture-image.html
@@ -0,0 +1,18 @@
+<HTML>
+<HEAD>
+<meta charset="UTF-8">
+<title>MediaCapture.captureImage - kvision</title>
+<link rel="stylesheet" href="../../../style.css">
+</HEAD>
+<BODY>
+<a href="../../index.html">kvision</a>&nbsp;/&nbsp;<a href="../index.html">pl.treksoft.kvision.cordova</a>&nbsp;/&nbsp;<a href="index.html">MediaCapture</a>&nbsp;/&nbsp;<a href="./capture-image.html">captureImage</a><br/>
+<br/>
+<h1>captureImage</h1>
+<a name="pl.treksoft.kvision.cordova.MediaCapture$captureImage(kotlin.Number)"></a>
+<code><span class="keyword">suspend</span> <span class="keyword">fun </span><span class="identifier">captureImage</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.cordova.MediaCapture$captureImage(kotlin.Number)/limit">limit</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-number/index.html"><span class="identifier">Number</span></a>&nbsp;<span class="symbol">=</span>&nbsp;1<span class="symbol">)</span><span class="symbol">: </span><a href="../-result/index.html"><span class="identifier">Result</span></a><span class="symbol">&lt;</span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html"><span class="identifier">List</span></a><span class="symbol">&lt;</span><a href="../-media-file/index.html"><span class="identifier">MediaFile</span></a><span class="symbol">&gt;</span><span class="symbol">,</span>&nbsp;<a href="../-capture-exception/index.html"><span class="identifier">CaptureException</span></a><span class="symbol">&gt;</span></code>
+<p>Capture image file(s).</p>
+<h3>Parameters</h3>
+<p><a name="limit"></a>
+<code>limit</code> - The maximum number of image files the user can capture in a single capture operation.</p>
+</BODY>
+</HTML>
diff --git a/api/pl.treksoft.kvision.cordova/-media-capture/capture-video.html b/api/pl.treksoft.kvision.cordova/-media-capture/capture-video.html
new file mode 100644
index 00000000..9b9c3b49
--- /dev/null
+++ b/api/pl.treksoft.kvision.cordova/-media-capture/capture-video.html
@@ -0,0 +1,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>&nbsp;/&nbsp;<a href="../index.html">pl.treksoft.kvision.cordova</a>&nbsp;/&nbsp;<a href="index.html">MediaCapture</a>&nbsp;/&nbsp;<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>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-number/index.html"><span class="identifier">Number</span></a>&nbsp;<span class="symbol">=</span>&nbsp;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>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-number/index.html"><span class="identifier">Number</span></a><span class="symbol">?</span>&nbsp;<span class="symbol">=</span>&nbsp;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>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a>&nbsp;<span class="symbol">=</span>&nbsp;false<span class="symbol">)</span><span class="symbol">: </span><a href="../-result/index.html"><span class="identifier">Result</span></a><span class="symbol">&lt;</span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html"><span class="identifier">List</span></a><span class="symbol">&lt;</span><a href="../-media-file/index.html"><span class="identifier">MediaFile</span></a><span class="symbol">&gt;</span><span class="symbol">,</span>&nbsp;<a href="../-capture-exception/index.html"><span class="identifier">CaptureException</span></a><span class="symbol">&gt;</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>
diff --git a/api/pl.treksoft.kvision.cordova/-media-capture/index.html b/api/pl.treksoft.kvision.cordova/-media-capture/index.html
new file mode 100644
index 00000000..92bcd6c4
--- /dev/null
+++ b/api/pl.treksoft.kvision.cordova/-media-capture/index.html
@@ -0,0 +1,81 @@
+<HTML>
+<HEAD>
+<meta charset="UTF-8">
+<title>MediaCapture - kvision</title>
+<link rel="stylesheet" href="../../../style.css">
+</HEAD>
+<BODY>
+<a href="../../index.html">kvision</a>&nbsp;/&nbsp;<a href="../index.html">pl.treksoft.kvision.cordova</a>&nbsp;/&nbsp;<a href="./index.html">MediaCapture</a><br/>
+<br/>
+<h1>MediaCapture</h1>
+<code><span class="keyword">object </span><span class="identifier">MediaCapture</span></code>
+<p>Main media capture object.</p>
+<h3>Types</h3>
+<table>
+<tbody>
+<tr>
+<td>
+<p><a href="-capture-error-code/index.html">CaptureErrorCode</a></p>
+</td>
+<td>
+<code><span class="keyword">enum</span> <span class="keyword">class </span><span class="identifier">CaptureErrorCode</span></code></td>
+</tr>
+</tbody>
+</table>
+<h3>Functions</h3>
+<table>
+<tbody>
+<tr>
+<td>
+<p><a href="add-pending-capture-listener.html">addPendingCaptureListener</a></p>
+</td>
+<td>
+<code><span class="keyword">fun </span><span class="identifier">addPendingCaptureListener</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.cordova.MediaCapture$addPendingCaptureListener(kotlin.Function1((pl.treksoft.kvision.cordova.Result((kotlin.collections.List((pl.treksoft.kvision.cordova.MediaFile)), pl.treksoft.kvision.cordova.CaptureException)), kotlin.Unit)))/listener">listener</span><span class="symbol">:</span>&nbsp;<span class="symbol">(</span><a href="../-result/index.html"><span class="identifier">Result</span></a><span class="symbol">&lt;</span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html"><span class="identifier">List</span></a><span class="symbol">&lt;</span><a href="../-media-file/index.html"><span class="identifier">MediaFile</span></a><span class="symbol">&gt;</span><span class="symbol">,</span>&nbsp;<a href="../-capture-exception/index.html"><span class="identifier">CaptureException</span></a><span class="symbol">&gt;</span><span class="symbol">)</span>&nbsp;<span class="symbol">-&gt;</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html"><span class="identifier">Unit</span></a><span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html"><span class="identifier">Unit</span></a></code>
+<p>Add listeners for pending capture Cordova events.</p>
+</td>
+</tr>
+<tr>
+<td>
+<p><a href="capture-audio.html">captureAudio</a></p>
+</td>
+<td>
+<code><span class="keyword">suspend</span> <span class="keyword">fun </span><span class="identifier">captureAudio</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.cordova.MediaCapture$captureAudio(kotlin.Number, kotlin.Number)/limit">limit</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-number/index.html"><span class="identifier">Number</span></a>&nbsp;<span class="symbol">=</span>&nbsp;1<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.cordova.MediaCapture$captureAudio(kotlin.Number, kotlin.Number)/duration">duration</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-number/index.html"><span class="identifier">Number</span></a><span class="symbol">?</span>&nbsp;<span class="symbol">=</span>&nbsp;null<span class="symbol">)</span><span class="symbol">: </span><a href="../-result/index.html"><span class="identifier">Result</span></a><span class="symbol">&lt;</span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html"><span class="identifier">List</span></a><span class="symbol">&lt;</span><a href="../-media-file/index.html"><span class="identifier">MediaFile</span></a><span class="symbol">&gt;</span><span class="symbol">,</span>&nbsp;<a href="../-capture-exception/index.html"><span class="identifier">CaptureException</span></a><span class="symbol">&gt;</span></code>
+<p>Capture audio file(s).</p>
+</td>
+</tr>
+<tr>
+<td>
+<p><a href="capture-image.html">captureImage</a></p>
+</td>
+<td>
+<code><span class="keyword">suspend</span> <span class="keyword">fun </span><span class="identifier">captureImage</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.cordova.MediaCapture$captureImage(kotlin.Number)/limit">limit</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-number/index.html"><span class="identifier">Number</span></a>&nbsp;<span class="symbol">=</span>&nbsp;1<span class="symbol">)</span><span class="symbol">: </span><a href="../-result/index.html"><span class="identifier">Result</span></a><span class="symbol">&lt;</span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html"><span class="identifier">List</span></a><span class="symbol">&lt;</span><a href="../-media-file/index.html"><span class="identifier">MediaFile</span></a><span class="symbol">&gt;</span><span class="symbol">,</span>&nbsp;<a href="../-capture-exception/index.html"><span class="identifier">CaptureException</span></a><span class="symbol">&gt;</span></code>
+<p>Capture image file(s).</p>
+</td>
+</tr>
+<tr>
+<td>
+<p><a href="capture-video.html">captureVideo</a></p>
+</td>
+<td>
+<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>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-number/index.html"><span class="identifier">Number</span></a>&nbsp;<span class="symbol">=</span>&nbsp;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>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-number/index.html"><span class="identifier">Number</span></a><span class="symbol">?</span>&nbsp;<span class="symbol">=</span>&nbsp;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>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a>&nbsp;<span class="symbol">=</span>&nbsp;false<span class="symbol">)</span><span class="symbol">: </span><a href="../-result/index.html"><span class="identifier">Result</span></a><span class="symbol">&lt;</span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html"><span class="identifier">List</span></a><span class="symbol">&lt;</span><a href="../-media-file/index.html"><span class="identifier">MediaFile</span></a><span class="symbol">&gt;</span><span class="symbol">,</span>&nbsp;<a href="../-capture-exception/index.html"><span class="identifier">CaptureException</span></a><span class="symbol">&gt;</span></code>
+<p>Capture video file(s).</p>
+</td>
+</tr>
+</tbody>
+</table>
+<h3>Extension Functions</h3>
+<table>
+<tbody>
+<tr>
+<td>
+<p><a href="../../pl.treksoft.kvision.utils/kotlin.-any/create-instance.html">createInstance</a></p>
+</td>
+<td>
+<code><span class="keyword">fun </span><span class="symbol">&lt;</span><span class="identifier">T</span><span class="symbol">&gt;</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html"><span class="identifier">Any</span></a><span class="symbol">?</span><span class="symbol">.</span><span class="identifier">createInstance</span><span class="symbol">(</span><span class="keyword">vararg</span> <span class="identifier" id="pl.treksoft.kvision.utils$createInstance(kotlin.Any, kotlin.Array((kotlin.Any)))/args">args</span><span class="symbol">:</span>&nbsp;<span class="keyword">dynamic</span><span class="symbol">)</span><span class="symbol">: </span><a href="../../pl.treksoft.kvision.utils/kotlin.-any/create-instance.html#T"><span class="identifier">T</span></a></code>
+<p>Helper function for creating JavaScript objects from dynamic constructors.</p>
+</td>
+</tr>
+</tbody>
+</table>
+</BODY>
+</HTML>