aboutsummaryrefslogtreecommitdiff
path: root/api1/pl.treksoft.kvision.cordova/write.html
blob: 5869064e8ad3c32da23c0e3f88ddbc84fc59a004 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<HTML>
<HEAD>
<meta charset="UTF-8">
<title>write - 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="./write.html">write</a><br/>
<br/>
<h1>write</h1>
<a name="pl.treksoft.kvision.cordova$write(pl.treksoft.kvision.cordova.FileEntry, )"></a>
<code><span class="keyword">suspend</span> <span class="keyword">fun </span><a href="-file-entry/index.html"><span class="identifier">FileEntry</span></a><span class="symbol">.</span><span class="identifier">write</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.cordova$write(pl.treksoft.kvision.cordova.FileEntry, )/data">data</span><span class="symbol">:</span>&nbsp;<span class="identifier">&lt;ERROR CLASS&gt;</span><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="-file-entry/index.html"><span class="identifier">FileEntry</span></a><span class="symbol">,</span>&nbsp;<a href="-file-exception/index.html"><span class="identifier">FileException</span></a><span class="symbol">&gt;</span></code>
<p>Write file content from a Blob.</p>
<h3>Parameters</h3>
<p><a name="data"></a>
<code>data</code> - a data Blob to be written.</p>
<a name="pl.treksoft.kvision.cordova$write(pl.treksoft.kvision.cordova.FileEntry, kotlin.String)"></a>
<code><span class="keyword">suspend</span> <span class="keyword">fun </span><a href="-file-entry/index.html"><span class="identifier">FileEntry</span></a><span class="symbol">.</span><span class="identifier">write</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.cordova$write(pl.treksoft.kvision.cordova.FileEntry, kotlin.String)/data">data</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><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="-file-entry/index.html"><span class="identifier">FileEntry</span></a><span class="symbol">,</span>&nbsp;<a href="-file-exception/index.html"><span class="identifier">FileException</span></a><span class="symbol">&gt;</span></code>
<p>Write file content from a plain string.</p>
<h3>Parameters</h3>
<p><a name="data"></a>
<code>data</code> - a data string to be written.</p>
</BODY>
</HTML>