blob: 0bd81bc7261d8072b619bbae57e56d194ff89556 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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> / <a href="../index.html">pl.treksoft.kvision.cordova</a> / <a href="index.html">MediaCapture</a> / <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> <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="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 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>
|