blob: 6db1b60e156dc76382e08e4a19c417714da357a1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
<HTML>
<HEAD>
<meta charset="UTF-8">
<title>File.requestFileSystem - 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">File</a> / <a href="./request-file-system.html">requestFileSystem</a><br/>
<br/>
<h1>requestFileSystem</h1>
(js) <a name="pl.treksoft.kvision.cordova.File$requestFileSystem(pl.treksoft.kvision.cordova.File.FileSystemType, kotlin.Long)"></a>
<code><span class="keyword">suspend</span> <span class="keyword">fun </span><span class="identifier">requestFileSystem</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.cordova.File$requestFileSystem(pl.treksoft.kvision.cordova.File.FileSystemType, kotlin.Long)/fileSystemType">fileSystemType</span><span class="symbol">:</span> <span class="identifier">FileSystemType</span><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.cordova.File$requestFileSystem(pl.treksoft.kvision.cordova.File.FileSystemType, kotlin.Long)/size">size</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html"><span class="identifier">Long</span></a> <span class="symbol">=</span> 0<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="../-file-system/index.html"><span class="identifier">FileSystem</span></a><span class="symbol">,</span> <a href="../-file-exception/index.html"><span class="identifier">FileException</span></a><span class="symbol">></span></code>
<p>Request a file system of a given type.</p>
<h3>Parameters</h3>
<p><a name="fileSystemType"></a>
<code>fileSystemType</code> - file system type (temporary or persistent)</p>
<p><a name="size"></a>
<code>size</code> - file system size (quota)</p>
</BODY>
</HTML>
|