aboutsummaryrefslogtreecommitdiff
path: root/api1/pl.treksoft.kvision.cordova/-camera/cleanup.html
blob: 84c397c96e3f70204881a904559480e8a5f4266b (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>Camera.cleanup - 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">Camera</a>&nbsp;/&nbsp;<a href="./cleanup.html">cleanup</a><br/>
<br/>
<h1>cleanup</h1>
<a name="pl.treksoft.kvision.cordova.Camera$cleanup(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">cleanup</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.cordova.Camera$cleanup(kotlin.Function1((pl.treksoft.kvision.cordova.Result((kotlin.String, pl.treksoft.kvision.cordova.CameraException)), kotlin.Unit)))/resultCallback">resultCallback</span><span class="symbol">:</span>&nbsp;<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/-string/index.html"><span class="identifier">String</span></a><span class="symbol">,</span>&nbsp;<a href="../-camera-exception/index.html"><span class="identifier">CameraException</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>&nbsp;<span class="symbol">=</span>&nbsp;null<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>Removes intermediate image files that are kept in the temporary storage after calling <a href="get-picture.html">getPicture</a>.</p>
<h3>Parameters</h3>
<p><a name="resultCallback"></a>
<code>resultCallback</code> - an optional callback function to get the <a href="../-result/index.html">Result</a> of the cleanup operation.</p>
</BODY>
</HTML>