blob: 7a376463e6c64904d9bc66b5dc8fe1b9e2d19e54 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
<HTML>
<HEAD>
<meta charset="UTF-8">
<title>Camera.addCameraResultCallback - 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">Camera</a> / <a href="./add-camera-result-callback.html">addCameraResultCallback</a><br/>
<br/>
<h1>addCameraResultCallback</h1>
<a name="pl.treksoft.kvision.cordova.Camera$addCameraResultCallback(kotlin.Function1((pl.treksoft.kvision.cordova.Result((kotlin.String, pl.treksoft.kvision.cordova.CameraException)), kotlin.Unit)))"></a>
<code><span class="keyword">fun </span><span class="identifier">addCameraResultCallback</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.cordova.Camera$addCameraResultCallback(kotlin.Function1((pl.treksoft.kvision.cordova.Result((kotlin.String, pl.treksoft.kvision.cordova.CameraException)), kotlin.Unit)))/resultCallback">resultCallback</span><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/-string/index.html"><span class="identifier">String</span></a><span class="symbol">,</span> <a href="../-camera-exception/index.html"><span class="identifier">CameraException</span></a><span class="symbol">></span><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><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>An Android specific function to get picture from the camera after resume when the application
webview intent is killed.</p>
<h3>Parameters</h3>
<p><a name="resultCallback"></a>
<code>resultCallback</code> - a callback function to get the <a href="../-result/index.html">Result</a>, containing the picture or the exception</p>
</BODY>
</HTML>
|