diff options
Diffstat (limited to 'api/pl.treksoft.kvision.cordova/index.html')
-rw-r--r-- | api/pl.treksoft.kvision.cordova/index.html | 889 |
1 files changed, 889 insertions, 0 deletions
diff --git a/api/pl.treksoft.kvision.cordova/index.html b/api/pl.treksoft.kvision.cordova/index.html new file mode 100644 index 00000000..026bfd3b --- /dev/null +++ b/api/pl.treksoft.kvision.cordova/index.html @@ -0,0 +1,889 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>pl.treksoft.kvision.cordova - 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><br/> +<br/> +<h2>Package pl.treksoft.kvision.cordova</h2> +<p>Kotlin bindings for core Apache Cordova API.</p> +<h3>Types</h3> +<table> +<tbody> +<tr> +<td> +<p><a href="-battery/index.html">Battery</a></p> +</td> +<td> +<code><span class="keyword">object </span><span class="identifier">Battery</span></code> +<p>Main object for Cordova battery.</p> +</td> +</tr> +<tr> +<td> +<p><a href="-battery-status/index.html">BatteryStatus</a></p> +</td> +<td> +<code><span class="keyword">external</span> <span class="keyword">class </span><span class="identifier">BatteryStatus</span></code> +<p>Battery status.</p> +</td> +</tr> +<tr> +<td> +<p><a href="-browser/index.html">Browser</a></p> +</td> +<td> +<code><span class="keyword">external</span> <span class="keyword">class </span><span class="identifier">Browser</span></code> +<p>InAppBrowser reference object.</p> +</td> +</tr> +<tr> +<td> +<p><a href="-camera/index.html">Camera</a></p> +</td> +<td> +<code><span class="keyword">object </span><span class="identifier">Camera</span></code> +<p>Main object for Cordova camera.</p> +</td> +</tr> +<tr> +<td> +<p><a href="-camera-options/index.html">CameraOptions</a></p> +</td> +<td> +<code><span class="keyword">data</span> <span class="keyword">class </span><span class="identifier">CameraOptions</span></code> +<p>Camera options.</p> +</td> +</tr> +<tr> +<td> +<p><a href="-coordinates/index.html">Coordinates</a></p> +</td> +<td> +<code><span class="keyword">external</span> <span class="keyword">class </span><span class="identifier">Coordinates</span></code> +<p>Geolocation coordinates values.</p> +</td> +</tr> +<tr> +<td> +<p><a href="-cordova-event/index.html">CordovaEvent</a></p> +</td> +<td> +<code><span class="keyword">enum</span> <span class="keyword">class </span><span class="identifier">CordovaEvent</span></code> +<p>Cordova event types.</p> +</td> +</tr> +<tr> +<td> +<p><a href="-device/index.html">Device</a></p> +</td> +<td> +<code><span class="keyword">external</span> <span class="keyword">class </span><span class="identifier">Device</span></code> +<p>Device information class.</p> +</td> +</tr> +<tr> +<td> +<p><a href="-directory-entry/index.html">DirectoryEntry</a></p> +</td> +<td> +<code><span class="keyword">external</span> <span class="keyword">interface </span><span class="identifier">DirectoryEntry</span> <span class="symbol">:</span> <a href="-entry/index.html"><span class="identifier">Entry</span></a></code></td> +</tr> +<tr> +<td> +<p><a href="-directory-entry-callback.html">DirectoryEntryCallback</a></p> +</td> +<td> +<code><span class="keyword">external</span> <span class="keyword">interface </span><span class="identifier">DirectoryEntryCallback</span></code></td> +</tr> +<tr> +<td> +<p><a href="-directory-entry-sync/index.html">DirectoryEntrySync</a></p> +</td> +<td> +<code><span class="keyword">external</span> <span class="keyword">interface </span><span class="identifier">DirectoryEntrySync</span> <span class="symbol">:</span> <a href="-entry-sync/index.html"><span class="identifier">EntrySync</span></a></code></td> +</tr> +<tr> +<td> +<p><a href="-directory-reader/index.html">DirectoryReader</a></p> +</td> +<td> +<code><span class="keyword">external</span> <span class="keyword">interface </span><span class="identifier">DirectoryReader</span></code></td> +</tr> +<tr> +<td> +<p><a href="-directory-reader-sync/index.html">DirectoryReaderSync</a></p> +</td> +<td> +<code><span class="keyword">external</span> <span class="keyword">interface </span><span class="identifier">DirectoryReaderSync</span></code></td> +</tr> +<tr> +<td> +<p><a href="-entries-callback.html">EntriesCallback</a></p> +</td> +<td> +<code><span class="keyword">external</span> <span class="keyword">interface </span><span class="identifier">EntriesCallback</span></code></td> +</tr> +<tr> +<td> +<p><a href="-entry/index.html">Entry</a></p> +</td> +<td> +<code><span class="keyword">external</span> <span class="keyword">interface </span><span class="identifier">Entry</span></code></td> +</tr> +<tr> +<td> +<p><a href="-entry-callback.html">EntryCallback</a></p> +</td> +<td> +<code><span class="keyword">external</span> <span class="keyword">interface </span><span class="identifier">EntryCallback</span></code></td> +</tr> +<tr> +<td> +<p><a href="-entry-sync/index.html">EntrySync</a></p> +</td> +<td> +<code><span class="keyword">external</span> <span class="keyword">interface </span><span class="identifier">EntrySync</span></code></td> +</tr> +<tr> +<td> +<p><a href="-error-callback.html">ErrorCallback</a></p> +</td> +<td> +<code><span class="keyword">external</span> <span class="keyword">interface </span><span class="identifier">ErrorCallback</span></code></td> +</tr> +<tr> +<td> +<p><a href="-file/index.html">File</a></p> +</td> +<td> +<code><span class="keyword">object </span><span class="identifier">File</span></code> +<p>Main object for Cordova file.</p> +</td> +</tr> +<tr> +<td> +<p><a href="-file-callback.html">FileCallback</a></p> +</td> +<td> +<code><span class="keyword">external</span> <span class="keyword">interface </span><span class="identifier">FileCallback</span></code></td> +</tr> +<tr> +<td> +<p><a href="-file-entry/index.html">FileEntry</a></p> +</td> +<td> +<code><span class="keyword">external</span> <span class="keyword">interface </span><span class="identifier">FileEntry</span> <span class="symbol">:</span> <a href="-entry/index.html"><span class="identifier">Entry</span></a></code></td> +</tr> +<tr> +<td> +<p><a href="-file-entry-callback.html">FileEntryCallback</a></p> +</td> +<td> +<code><span class="keyword">external</span> <span class="keyword">interface </span><span class="identifier">FileEntryCallback</span></code></td> +</tr> +<tr> +<td> +<p><a href="-file-entry-sync/index.html">FileEntrySync</a></p> +</td> +<td> +<code><span class="keyword">external</span> <span class="keyword">interface </span><span class="identifier">FileEntrySync</span> <span class="symbol">:</span> <a href="-entry-sync/index.html"><span class="identifier">EntrySync</span></a></code></td> +</tr> +<tr> +<td> +<p><a href="-file-saver/index.html">FileSaver</a></p> +</td> +<td> +<code><span class="keyword">external</span> <span class="keyword">interface </span><span class="identifier">FileSaver</span> <span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/org.w3c.dom.events/-event-target/index.html"><span class="identifier">EventTarget</span></a></code></td> +</tr> +<tr> +<td> +<p><a href="-file-system/index.html">FileSystem</a></p> +</td> +<td> +<code><span class="keyword">external</span> <span class="keyword">interface </span><span class="identifier">FileSystem</span></code></td> +</tr> +<tr> +<td> +<p><a href="-file-system-callback.html">FileSystemCallback</a></p> +</td> +<td> +<code><span class="keyword">external</span> <span class="keyword">interface </span><span class="identifier">FileSystemCallback</span></code></td> +</tr> +<tr> +<td> +<p><a href="-file-system-sync/index.html">FileSystemSync</a></p> +</td> +<td> +<code><span class="keyword">external</span> <span class="keyword">interface </span><span class="identifier">FileSystemSync</span></code></td> +</tr> +<tr> +<td> +<p><a href="-file-writer/index.html">FileWriter</a></p> +</td> +<td> +<code><span class="keyword">external</span> <span class="keyword">interface </span><span class="identifier">FileWriter</span> <span class="symbol">:</span> <a href="-file-saver/index.html"><span class="identifier">FileSaver</span></a></code></td> +</tr> +<tr> +<td> +<p><a href="-file-writer-callback.html">FileWriterCallback</a></p> +</td> +<td> +<code><span class="keyword">external</span> <span class="keyword">interface </span><span class="identifier">FileWriterCallback</span></code></td> +</tr> +<tr> +<td> +<p><a href="-file-writer-sync/index.html">FileWriterSync</a></p> +</td> +<td> +<code><span class="keyword">external</span> <span class="keyword">interface </span><span class="identifier">FileWriterSync</span></code></td> +</tr> +<tr> +<td> +<p><a href="-flags/index.html">Flags</a></p> +</td> +<td> +<code><span class="keyword">external</span> <span class="keyword">interface </span><span class="identifier">Flags</span></code></td> +</tr> +<tr> +<td> +<p><a href="-geolocation/index.html">Geolocation</a></p> +</td> +<td> +<code><span class="keyword">object </span><span class="identifier">Geolocation</span></code> +<p>Main geolocation object based on webview api.</p> +</td> +</tr> +<tr> +<td> +<p><a href="-in-app-browser/index.html">InAppBrowser</a></p> +</td> +<td> +<code><span class="keyword">object </span><span class="identifier">InAppBrowser</span></code> +<p>Main object for Cordova InAppBrowser api.</p> +</td> +</tr> +<tr> +<td> +<p><a href="-in-app-browser-event/index.html">InAppBrowserEvent</a></p> +</td> +<td> +<code><span class="keyword">external</span> <span class="keyword">class </span><span class="identifier">InAppBrowserEvent</span></code> +<p>InAppBrowser event type.</p> +</td> +</tr> +<tr> +<td> +<p><a href="-local-file-system/index.html">LocalFileSystem</a></p> +</td> +<td> +<code><span class="keyword">external</span> <span class="keyword">object </span><span class="identifier">LocalFileSystem</span></code></td> +</tr> +<tr> +<td> +<p><a href="-local-file-system-sync/index.html">LocalFileSystemSync</a></p> +</td> +<td> +<code><span class="keyword">external</span> <span class="keyword">object </span><span class="identifier">LocalFileSystemSync</span></code></td> +</tr> +<tr> +<td> +<p><a href="-locationservices/index.html">Locationservices</a></p> +</td> +<td> +<code><span class="keyword">object </span><span class="identifier">Locationservices</span></code> +<p>Main geolocation object based on Google location services api.</p> +</td> +</tr> +<tr> +<td> +<p><a href="-media/index.html">Media</a></p> +</td> +<td> +<code><span class="keyword">external</span> <span class="keyword">class </span><span class="identifier">Media</span></code> +<p>Cordova media class.</p> +</td> +</tr> +<tr> +<td> +<p><a href="-media-capture/index.html">MediaCapture</a></p> +</td> +<td> +<code><span class="keyword">object </span><span class="identifier">MediaCapture</span></code> +<p>Main media capture object.</p> +</td> +</tr> +<tr> +<td> +<p><a href="-media-error/index.html">MediaError</a></p> +</td> +<td> +<code><span class="keyword">external</span> <span class="keyword">class </span><span class="identifier">MediaError</span></code> +<p>Media error class.</p> +</td> +</tr> +<tr> +<td> +<p><a href="-media-file/index.html">MediaFile</a></p> +</td> +<td> +<code><span class="keyword">external</span> <span class="keyword">class </span><span class="identifier">MediaFile</span></code> +<p>Media file information class.</p> +</td> +</tr> +<tr> +<td> +<p><a href="-media-file-data/index.html">MediaFileData</a></p> +</td> +<td> +<code><span class="keyword">external</span> <span class="keyword">class </span><span class="identifier">MediaFileData</span></code> +<p>Media file details class.</p> +</td> +</tr> +<tr> +<td> +<p><a href="-metadata/index.html">Metadata</a></p> +</td> +<td> +<code><span class="keyword">external</span> <span class="keyword">interface </span><span class="identifier">Metadata</span></code></td> +</tr> +<tr> +<td> +<p><a href="-metadata-callback.html">MetadataCallback</a></p> +</td> +<td> +<code><span class="keyword">external</span> <span class="keyword">interface </span><span class="identifier">MetadataCallback</span></code></td> +</tr> +<tr> +<td> +<p><a href="-network/index.html">Network</a></p> +</td> +<td> +<code><span class="keyword">object </span><span class="identifier">Network</span></code> +<p>Main object for Cordova network.</p> +</td> +</tr> +<tr> +<td> +<p><a href="-notification/index.html">Notification</a></p> +</td> +<td> +<code><span class="keyword">object </span><span class="identifier">Notification</span></code> +<p>Main object for Cordova notifications.</p> +</td> +</tr> +<tr> +<td> +<p><a href="-pending-result/index.html">PendingResult</a></p> +</td> +<td> +<code><span class="keyword">external</span> <span class="keyword">class </span><span class="identifier">PendingResult</span></code> +<p>Pending result class.</p> +</td> +</tr> +<tr> +<td> +<p><a href="-position/index.html">Position</a></p> +</td> +<td> +<code><span class="keyword">external</span> <span class="keyword">class </span><span class="identifier">Position</span></code> +<p>Geolocation position value.</p> +</td> +</tr> +<tr> +<td> +<p><a href="-position-error/index.html">PositionError</a></p> +</td> +<td> +<code><span class="keyword">enum</span> <span class="keyword">class </span><span class="identifier">PositionError</span></code> +<p>Geolocaton error codes.</p> +</td> +</tr> +<tr> +<td> +<p><a href="-prompt-response/index.html">PromptResponse</a></p> +</td> +<td> +<code><span class="keyword">external</span> <span class="keyword">class </span><span class="identifier">PromptResponse</span></code> +<p>A response object for prompt function callback.</p> +</td> +</tr> +<tr> +<td> +<p><a href="-result/index.html">Result</a></p> +</td> +<td> +<code><span class="keyword">sealed</span> <span class="keyword">class </span><span class="identifier">Result</span><span class="symbol"><</span><span class="keyword">out</span> <span class="identifier">V</span> <span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html"><span class="identifier">Any</span></a><span class="symbol">, </span><span class="keyword">out</span> <span class="identifier">E</span><span class="symbol">></span></code></td> +</tr> +<tr> +<td> +<p><a href="-resume-event/index.html">ResumeEvent</a></p> +</td> +<td> +<code><span class="keyword">external</span> <span class="keyword">class </span><span class="identifier">ResumeEvent</span></code> +<p>Resume event class.</p> +</td> +</tr> +<tr> +<td> +<p><a href="-screen/index.html">Screen</a></p> +</td> +<td> +<code><span class="keyword">object </span><span class="identifier">Screen</span></code> +<p>Main object for Cordova screen.</p> +</td> +</tr> +<tr> +<td> +<p><a href="-splashscreen/index.html">Splashscreen</a></p> +</td> +<td> +<code><span class="keyword">object </span><span class="identifier">Splashscreen</span></code> +<p>Main object for Cordova splashscreen.</p> +</td> +</tr> +<tr> +<td> +<p><a href="-status-bar/index.html">StatusBar</a></p> +</td> +<td> +<code><span class="keyword">object </span><span class="identifier">StatusBar</span></code> +<p>Main object for Cordova status bar.</p> +</td> +</tr> +<tr> +<td> +<p><a href="-system-dirs/index.html">SystemDirs</a></p> +</td> +<td> +<code><span class="keyword">external</span> <span class="keyword">class </span><span class="identifier">SystemDirs</span></code> +<p>System directories class.</p> +</td> +</tr> +<tr> +<td> +<p><a href="-vibration/index.html">Vibration</a></p> +</td> +<td> +<code><span class="keyword">object </span><span class="identifier">Vibration</span></code> +<p>Main object for Cordova vibration.</p> +</td> +</tr> +<tr> +<td> +<p><a href="-void-callback.html">VoidCallback</a></p> +</td> +<td> +<code><span class="keyword">external</span> <span class="keyword">interface </span><span class="identifier">VoidCallback</span></code></td> +</tr> +</tbody> +</table> +<h3>Exceptions</h3> +<table> +<tbody> +<tr> +<td> +<p><a href="-camera-exception/index.html">CameraException</a></p> +</td> +<td> +<code><span class="keyword">class </span><span class="identifier">CameraException</span> <span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-exception/index.html"><span class="identifier">Exception</span></a></code> +<p>Exception class for camera errors.</p> +</td> +</tr> +<tr> +<td> +<p><a href="-capture-exception/index.html">CaptureException</a></p> +</td> +<td> +<code><span class="keyword">class </span><span class="identifier">CaptureException</span> <span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-exception/index.html"><span class="identifier">Exception</span></a></code> +<p>Exception class for media capture errors.</p> +</td> +</tr> +<tr> +<td> +<p><a href="-file-exception/index.html">FileException</a></p> +</td> +<td> +<code><span class="keyword">class </span><span class="identifier">FileException</span> <span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-exception/index.html"><span class="identifier">Exception</span></a></code> +<p>Exception class for file errors.</p> +</td> +</tr> +<tr> +<td> +<p><a href="-geolocation-exception/index.html">GeolocationException</a></p> +</td> +<td> +<code><span class="keyword">class </span><span class="identifier">GeolocationException</span> <span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-exception/index.html"><span class="identifier">Exception</span></a></code> +<p>Exception class for geolocation errors.</p> +</td> +</tr> +</tbody> +</table> +<h3>Extensions for External Classes</h3> +<table> +<tbody> +<tr> +<td> +<p><a href="kotlin.-string/index.html">kotlin.String</a></p> +</td> +<td> +</td> +</tr> +</tbody> +</table> +<h3>Properties</h3> +<table> +<tbody> +<tr> +<td> +<p><a href="cordova-device.html">cordovaDevice</a></p> +</td> +<td> +<code><span class="keyword">var </span><span class="identifier">cordovaDevice</span><span class="symbol">: </span><a href="-device/index.html"><span class="identifier">Device</span></a><span class="symbol">?</span></code> +<p>Cordova device information object.</p> +</td> +</tr> +</tbody> +</table> +<h3>Functions</h3> +<table> +<tbody> +<tr> +<td> +<p><a href="add-cordova-event-listener.html">addCordovaEventListener</a></p> +</td> +<td> +<code><span class="keyword">fun </span><span class="identifier">addCordovaEventListener</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.cordova$addCordovaEventListener(pl.treksoft.kvision.cordova.CordovaEvent, kotlin.Function1((org.w3c.dom.events.Event, kotlin.Unit)))/event">event</span><span class="symbol">:</span> <a href="-cordova-event/index.html"><span class="identifier">CordovaEvent</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.cordova$addCordovaEventListener(pl.treksoft.kvision.cordova.CordovaEvent, kotlin.Function1((org.w3c.dom.events.Event, kotlin.Unit)))/listener">listener</span><span class="symbol">:</span> <span class="symbol">(</span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/org.w3c.dom.events/-event/index.html"><span class="identifier">Event</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><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>Add listeners for a Cordova events.</p> +</td> +</tr> +<tr> +<td> +<p><a href="add-device-ready-listener.html">addDeviceReadyListener</a></p> +</td> +<td> +<code><span class="keyword">fun </span><span class="identifier">addDeviceReadyListener</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.cordova$addDeviceReadyListener(kotlin.Function1((pl.treksoft.kvision.cordova.Device, kotlin.Unit)))/listener">listener</span><span class="symbol">:</span> <span class="symbol">(</span><a href="-device/index.html"><span class="identifier">Device</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><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>Add listeners for 'deviceready' Cordova event.</p> +</td> +</tr> +<tr> +<td> +<p><a href="add-pause-listener.html">addPauseListener</a></p> +</td> +<td> +<code><span class="keyword">fun </span><span class="identifier">addPauseListener</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.cordova$addPauseListener(kotlin.Function0((kotlin.Unit)))/listener">listener</span><span class="symbol">:</span> <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>Add listeners for 'pause' Cordova event.</p> +</td> +</tr> +<tr> +<td> +<p><a href="add-resume-listener.html">addResumeListener</a></p> +</td> +<td> +<code><span class="keyword">fun </span><span class="identifier">addResumeListener</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.cordova$addResumeListener(kotlin.Function1((pl.treksoft.kvision.cordova.ResumeEvent, kotlin.Unit)))/listener">listener</span><span class="symbol">:</span> <span class="symbol">(</span><a href="-resume-event/index.html"><span class="identifier">ResumeEvent</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><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>Add listeners for 'resume' Cordova event.</p> +</td> +</tr> +<tr> +<td> +<p><a href="any.html">any</a></p> +</td> +<td> +<code><span class="keyword">fun </span><span class="symbol"><</span><span class="identifier">V</span> <span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html"><span class="identifier">Any</span></a><span class="symbol">, </span><span class="identifier">E</span><span class="symbol">></span> <a href="-result/index.html"><span class="identifier">Result</span></a><span class="symbol"><</span><a href="any.html#V"><span class="identifier">V</span></a><span class="symbol">,</span> <a href="any.html#E"><span class="identifier">E</span></a><span class="symbol">></span><span class="symbol">.</span><span class="identifier">any</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.cordova$any(pl.treksoft.kvision.cordova.Result((pl.treksoft.kvision.cordova.any.V, pl.treksoft.kvision.cordova.any.E)), kotlin.Function1((pl.treksoft.kvision.cordova.any.V, kotlin.Boolean)))/predicate">predicate</span><span class="symbol">:</span> <span class="symbol">(</span><a href="any.html#V"><span class="identifier">V</span></a><span class="symbol">)</span> <span class="symbol">-></span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a><span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a></code></td> +</tr> +<tr> +<td> +<p><a href="append.html">append</a></p> +</td> +<td> +<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">append</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.cordova$append(pl.treksoft.kvision.cordova.FileEntry, )/data">data</span><span class="symbol">:</span> <span class="identifier"><ERROR CLASS></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="-file-entry/index.html"><span class="identifier">FileEntry</span></a><span class="symbol">,</span> <a href="-file-exception/index.html"><span class="identifier">FileException</span></a><span class="symbol">></span></code> +<p>Append file content from a Blob.</p> +<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">append</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.cordova$append(pl.treksoft.kvision.cordova.FileEntry, kotlin.String)/data">data</span><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><span class="symbol">: </span><a href="-result/index.html"><span class="identifier">Result</span></a><span class="symbol"><</span><a href="-file-entry/index.html"><span class="identifier">FileEntry</span></a><span class="symbol">,</span> <a href="-file-exception/index.html"><span class="identifier">FileException</span></a><span class="symbol">></span></code> +<p>Append file content from a plain string.</p> +</td> +</tr> +<tr> +<td> +<p><a href="copy-to.html">copyTo</a></p> +</td> +<td> +<code><span class="keyword">suspend</span> <span class="keyword">fun </span><a href="-entry/index.html"><span class="identifier">Entry</span></a><span class="symbol">.</span><span class="identifier">copyTo</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.cordova$copyTo(pl.treksoft.kvision.cordova.Entry, pl.treksoft.kvision.cordova.DirectoryEntry, kotlin.String)/parent">parent</span><span class="symbol">:</span> <a href="-directory-entry/index.html"><span class="identifier">DirectoryEntry</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.cordova$copyTo(pl.treksoft.kvision.cordova.Entry, pl.treksoft.kvision.cordova.DirectoryEntry, kotlin.String)/newName">newName</span><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> <span class="symbol">=</span> null<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="-entry/index.html"><span class="identifier">Entry</span></a><span class="symbol">,</span> <a href="-file-exception/index.html"><span class="identifier">FileException</span></a><span class="symbol">></span></code> +<p>Copy given file or directory to a new location.</p> +</td> +</tr> +<tr> +<td> +<p><a href="create-writer.html">createWriter</a></p> +</td> +<td> +<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">createWriter</span><span class="symbol">(</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="-file-writer/index.html"><span class="identifier">FileWriter</span></a><span class="symbol">,</span> <a href="-file-exception/index.html"><span class="identifier">FileException</span></a><span class="symbol">></span></code> +<p>Create a FileWriter object for a given file entry.</p> +</td> +</tr> +<tr> +<td> +<p><a href="failure.html">failure</a></p> +</td> +<td> +<code><span class="keyword">fun </span><span class="symbol"><</span><span class="identifier">E</span><span class="symbol">></span> <a href="-result/index.html"><span class="identifier">Result</span></a><span class="symbol"><</span><span class="identifier">*</span><span class="symbol">,</span> <a href="failure.html#E"><span class="identifier">E</span></a><span class="symbol">></span><span class="symbol">.</span><span class="identifier">failure</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.cordova$failure(pl.treksoft.kvision.cordova.Result((kotlin.Any, pl.treksoft.kvision.cordova.failure.E)), kotlin.Function1((pl.treksoft.kvision.cordova.failure.E, kotlin.Unit)))/f">f</span><span class="symbol">:</span> <span class="symbol">(</span><a href="failure.html#E"><span class="identifier">E</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><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></td> +</tr> +<tr> +<td> +<p><a href="fanout.html">fanout</a></p> +</td> +<td> +<code><span class="keyword">fun </span><span class="symbol"><</span><span class="identifier">V</span> <span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html"><span class="identifier">Any</span></a><span class="symbol">, </span><span class="identifier">U</span> <span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html"><span class="identifier">Any</span></a><span class="symbol">></span> <a href="-result/index.html"><span class="identifier">Result</span></a><span class="symbol"><</span><a href="fanout.html#V"><span class="identifier">V</span></a><span class="symbol">,</span> <span class="identifier">*</span><span class="symbol">></span><span class="symbol">.</span><span class="identifier">fanout</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.cordova$fanout(pl.treksoft.kvision.cordova.Result((pl.treksoft.kvision.cordova.fanout.V, java.lang.Exception)), kotlin.Function0((pl.treksoft.kvision.cordova.Result((pl.treksoft.kvision.cordova.fanout.U, java.lang.Exception)))))/other">other</span><span class="symbol">:</span> <span class="symbol">(</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="fanout.html#U"><span class="identifier">U</span></a><span class="symbol">,</span> <span class="identifier">*</span><span class="symbol">></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/-pair/index.html"><span class="identifier">Pair</span></a><span class="symbol"><</span><a href="fanout.html#V"><span class="identifier">V</span></a><span class="symbol">,</span> <a href="fanout.html#U"><span class="identifier">U</span></a><span class="symbol">></span><span class="symbol">,</span> <span class="identifier">*</span><span class="symbol">></span></code></td> +</tr> +<tr> +<td> +<p><a href="file.html">file</a></p> +</td> +<td> +<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">file</span><span class="symbol">(</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/org.w3c.files/-file/index.html"><span class="identifier">File</span></a><span class="symbol">,</span> <a href="-file-exception/index.html"><span class="identifier">FileException</span></a><span class="symbol">></span></code> +<p>Get a File object for a given file entry.</p> +</td> +</tr> +<tr> +<td> +<p><a href="flat-map.html">flatMap</a></p> +</td> +<td> +<code><span class="keyword">fun </span><span class="symbol"><</span><span class="identifier">V</span> <span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html"><span class="identifier">Any</span></a><span class="symbol">, </span><span class="identifier">U</span> <span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html"><span class="identifier">Any</span></a><span class="symbol">, </span><span class="identifier">E</span><span class="symbol">></span> <a href="-result/index.html"><span class="identifier">Result</span></a><span class="symbol"><</span><a href="flat-map.html#V"><span class="identifier">V</span></a><span class="symbol">,</span> <a href="flat-map.html#E"><span class="identifier">E</span></a><span class="symbol">></span><span class="symbol">.</span><span class="identifier">flatMap</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.cordova$flatMap(pl.treksoft.kvision.cordova.Result((pl.treksoft.kvision.cordova.flatMap.V, pl.treksoft.kvision.cordova.flatMap.E)), kotlin.Function1((pl.treksoft.kvision.cordova.flatMap.V, pl.treksoft.kvision.cordova.Result((pl.treksoft.kvision.cordova.flatMap.U, pl.treksoft.kvision.cordova.flatMap.E)))))/transform">transform</span><span class="symbol">:</span> <span class="symbol">(</span><a href="flat-map.html#V"><span class="identifier">V</span></a><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="flat-map.html#U"><span class="identifier">U</span></a><span class="symbol">,</span> <a href="flat-map.html#E"><span class="identifier">E</span></a><span class="symbol">></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="flat-map.html#U"><span class="identifier">U</span></a><span class="symbol">,</span> <a href="flat-map.html#E"><span class="identifier">E</span></a><span class="symbol">></span></code></td> +</tr> +<tr> +<td> +<p><a href="flat-map-error.html">flatMapError</a></p> +</td> +<td> +<code><span class="keyword">fun </span><span class="symbol"><</span><span class="identifier">V</span> <span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html"><span class="identifier">Any</span></a><span class="symbol">, </span><span class="identifier">E</span><span class="symbol">, </span><span class="identifier">E2</span><span class="symbol">></span> <a href="-result/index.html"><span class="identifier">Result</span></a><span class="symbol"><</span><a href="flat-map-error.html#V"><span class="identifier">V</span></a><span class="symbol">,</span> <a href="flat-map-error.html#E"><span class="identifier">E</span></a><span class="symbol">></span><span class="symbol">.</span><span class="identifier">flatMapError</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.cordova$flatMapError(pl.treksoft.kvision.cordova.Result((pl.treksoft.kvision.cordova.flatMapError.V, pl.treksoft.kvision.cordova.flatMapError.E)), kotlin.Function1((pl.treksoft.kvision.cordova.flatMapError.E, pl.treksoft.kvision.cordova.Result((pl.treksoft.kvision.cordova.flatMapError.V, pl.treksoft.kvision.cordova.flatMapError.E2)))))/transform">transform</span><span class="symbol">:</span> <span class="symbol">(</span><a href="flat-map-error.html#E"><span class="identifier">E</span></a><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="flat-map-error.html#V"><span class="identifier">V</span></a><span class="symbol">,</span> <a href="flat-map-error.html#E2"><span class="identifier">E2</span></a><span class="symbol">></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="flat-map-error.html#V"><span class="identifier">V</span></a><span class="symbol">,</span> <a href="flat-map-error.html#E2"><span class="identifier">E2</span></a><span class="symbol">></span></code></td> +</tr> +<tr> +<td> +<p><a href="get-as.html">getAs</a></p> +</td> +<td> +<code><span class="keyword">fun </span><span class="symbol"><</span><span class="identifier">X</span><span class="symbol">></span> <a href="-result/index.html"><span class="identifier">Result</span></a><span class="symbol"><</span><span class="identifier">*</span><span class="symbol">,</span> <span class="identifier">*</span><span class="symbol">></span><span class="symbol">.</span><span class="identifier">getAs</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><a href="get-as.html#X"><span class="identifier">X</span></a><span class="symbol">?</span></code></td> +</tr> +<tr> +<td> +<p><a href="get-current-amplitude.html">getCurrentAmplitude</a></p> +</td> +<td> +<code><span class="keyword">suspend</span> <span class="keyword">fun </span><a href="-media/index.html"><span class="identifier">Media</span></a><span class="symbol">.</span><span class="identifier">getCurrentAmplitude</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-number/index.html"><span class="identifier">Number</span></a></code> +<p>Returns the current amplitude within an audio file.</p> +</td> +</tr> +<tr> +<td> +<p><a href="get-current-position.html">getCurrentPosition</a></p> +</td> +<td> +<code><span class="keyword">suspend</span> <span class="keyword">fun </span><a href="-media/index.html"><span class="identifier">Media</span></a><span class="symbol">.</span><span class="identifier">getCurrentPosition</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-number/index.html"><span class="identifier">Number</span></a></code> +<p>Returns the current position within an audio file.</p> +</td> +</tr> +<tr> +<td> +<p><a href="get-device.html">getDevice</a></p> +</td> +<td> +<code><span class="keyword">suspend</span> <span class="keyword">fun </span><span class="identifier">getDevice</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><a href="-device/index.html"><span class="identifier">Device</span></a></code> +<p>Suspending function to return device information object.</p> +</td> +</tr> +<tr> +<td> +<p><a href="get-directory.html">getDirectory</a></p> +</td> +<td> +<code><span class="keyword">suspend</span> <span class="keyword">fun </span><a href="-directory-entry/index.html"><span class="identifier">DirectoryEntry</span></a><span class="symbol">.</span><span class="identifier">getDirectory</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.cordova$getDirectory(pl.treksoft.kvision.cordova.DirectoryEntry, kotlin.String, kotlin.Boolean, kotlin.Boolean)/path">path</span><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><span class="identifier" id="pl.treksoft.kvision.cordova$getDirectory(pl.treksoft.kvision.cordova.DirectoryEntry, kotlin.String, kotlin.Boolean, kotlin.Boolean)/create">create</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a> <span class="symbol">=</span> true<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.cordova$getDirectory(pl.treksoft.kvision.cordova.DirectoryEntry, kotlin.String, kotlin.Boolean, kotlin.Boolean)/exclusive">exclusive</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a> <span class="symbol">=</span> false<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="-directory-entry/index.html"><span class="identifier">DirectoryEntry</span></a><span class="symbol">,</span> <a href="-file-exception/index.html"><span class="identifier">FileException</span></a><span class="symbol">></span></code> +<p>Get or create a directory in a given parent directory.</p> +</td> +</tr> +<tr> +<td> +<p><a href="get-file.html">getFile</a></p> +</td> +<td> +<code><span class="keyword">suspend</span> <span class="keyword">fun </span><a href="-directory-entry/index.html"><span class="identifier">DirectoryEntry</span></a><span class="symbol">.</span><span class="identifier">getFile</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.cordova$getFile(pl.treksoft.kvision.cordova.DirectoryEntry, kotlin.String, kotlin.Boolean, kotlin.Boolean)/path">path</span><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><span class="identifier" id="pl.treksoft.kvision.cordova$getFile(pl.treksoft.kvision.cordova.DirectoryEntry, kotlin.String, kotlin.Boolean, kotlin.Boolean)/create">create</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a> <span class="symbol">=</span> true<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.cordova$getFile(pl.treksoft.kvision.cordova.DirectoryEntry, kotlin.String, kotlin.Boolean, kotlin.Boolean)/exclusive">exclusive</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a> <span class="symbol">=</span> false<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-entry/index.html"><span class="identifier">FileEntry</span></a><span class="symbol">,</span> <a href="-file-exception/index.html"><span class="identifier">FileException</span></a><span class="symbol">></span></code> +<p>Get or create a file in a given parent directory.</p> +</td> +</tr> +<tr> +<td> +<p><a href="get-format-data.html">getFormatData</a></p> +</td> +<td> +<code><span class="keyword">suspend</span> <span class="keyword">fun </span><a href="-media-file/index.html"><span class="identifier">MediaFile</span></a><span class="symbol">.</span><span class="identifier">getFormatData</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><a href="-media-file-data/index.html"><span class="identifier">MediaFileData</span></a><span class="symbol">?</span></code> +<p>Get details for the given file.</p> +</td> +</tr> +<tr> +<td> +<p><a href="get-metadata.html">getMetadata</a></p> +</td> +<td> +<code><span class="keyword">suspend</span> <span class="keyword">fun </span><a href="-entry/index.html"><span class="identifier">Entry</span></a><span class="symbol">.</span><span class="identifier">getMetadata</span><span class="symbol">(</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="-metadata/index.html"><span class="identifier">Metadata</span></a><span class="symbol">,</span> <a href="-file-exception/index.html"><span class="identifier">FileException</span></a><span class="symbol">></span></code> +<p>Get file or directory metadata.</p> +</td> +</tr> +<tr> +<td> +<p><a href="get-or-else.html">getOrElse</a></p> +</td> +<td> +<code><span class="keyword">infix</span> <span class="keyword">fun </span><span class="symbol"><</span><span class="identifier">V</span> <span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html"><span class="identifier">Any</span></a><span class="symbol">, </span><span class="identifier">E</span><span class="symbol">></span> <a href="-result/index.html"><span class="identifier">Result</span></a><span class="symbol"><</span><a href="get-or-else.html#V"><span class="identifier">V</span></a><span class="symbol">,</span> <a href="get-or-else.html#E"><span class="identifier">E</span></a><span class="symbol">></span><span class="symbol">.</span><span class="identifier">getOrElse</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.cordova$getOrElse(pl.treksoft.kvision.cordova.Result((pl.treksoft.kvision.cordova.getOrElse.V, pl.treksoft.kvision.cordova.getOrElse.E)), pl.treksoft.kvision.cordova.getOrElse.V)/fallback">fallback</span><span class="symbol">:</span> <a href="get-or-else.html#V"><span class="identifier">V</span></a><span class="symbol">)</span><span class="symbol">: </span><a href="get-or-else.html#V"><span class="identifier">V</span></a></code></td> +</tr> +<tr> +<td> +<p><a href="get-parent.html">getParent</a></p> +</td> +<td> +<code><span class="keyword">suspend</span> <span class="keyword">fun </span><a href="-entry/index.html"><span class="identifier">Entry</span></a><span class="symbol">.</span><span class="identifier">getParent</span><span class="symbol">(</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="-directory-entry/index.html"><span class="identifier">DirectoryEntry</span></a><span class="symbol">,</span> <a href="-file-exception/index.html"><span class="identifier">FileException</span></a><span class="symbol">></span></code> +<p>Get file or directory parent directory entry.</p> +</td> +</tr> +<tr> +<td> +<p><a href="invoke.html">invoke</a></p> +</td> +<td> +<code><span class="keyword">operator</span> <span class="keyword">fun </span><a href="-file-system-callback.html"><span class="identifier">FileSystemCallback</span></a><span class="symbol">.</span><span class="identifier">invoke</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.cordova$invoke(pl.treksoft.kvision.cordova.FileSystemCallback, pl.treksoft.kvision.cordova.FileSystem)/filesystem">filesystem</span><span class="symbol">:</span> <a href="-file-system/index.html"><span class="identifier">FileSystem</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><br/> +<code><span class="keyword">operator</span> <span class="keyword">fun </span><a href="-entry-callback.html"><span class="identifier">EntryCallback</span></a><span class="symbol">.</span><span class="identifier">invoke</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.cordova$invoke(pl.treksoft.kvision.cordova.EntryCallback, pl.treksoft.kvision.cordova.Entry)/entry">entry</span><span class="symbol">:</span> <a href="-entry/index.html"><span class="identifier">Entry</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><br/> +<code><span class="keyword">operator</span> <span class="keyword">fun </span><a href="-file-entry-callback.html"><span class="identifier">FileEntryCallback</span></a><span class="symbol">.</span><span class="identifier">invoke</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.cordova$invoke(pl.treksoft.kvision.cordova.FileEntryCallback, pl.treksoft.kvision.cordova.FileEntry)/entry">entry</span><span class="symbol">:</span> <a href="-file-entry/index.html"><span class="identifier">FileEntry</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><br/> +<code><span class="keyword">operator</span> <span class="keyword">fun </span><a href="-directory-entry-callback.html"><span class="identifier">DirectoryEntryCallback</span></a><span class="symbol">.</span><span class="identifier">invoke</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.cordova$invoke(pl.treksoft.kvision.cordova.DirectoryEntryCallback, pl.treksoft.kvision.cordova.DirectoryEntry)/entry">entry</span><span class="symbol">:</span> <a href="-directory-entry/index.html"><span class="identifier">DirectoryEntry</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><br/> +<code><span class="keyword">operator</span> <span class="keyword">fun </span><a href="-entries-callback.html"><span class="identifier">EntriesCallback</span></a><span class="symbol">.</span><span class="identifier">invoke</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.cordova$invoke(pl.treksoft.kvision.cordova.EntriesCallback, kotlin.Array((pl.treksoft.kvision.cordova.Entry)))/entries">entries</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-array/index.html"><span class="identifier">Array</span></a><span class="symbol"><</span><a href="-entry/index.html"><span class="identifier">Entry</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></code><br/> +<code><span class="keyword">operator</span> <span class="keyword">fun </span><a href="-metadata-callback.html"><span class="identifier">MetadataCallback</span></a><span class="symbol">.</span><span class="identifier">invoke</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.cordova$invoke(pl.treksoft.kvision.cordova.MetadataCallback, pl.treksoft.kvision.cordova.Metadata)/metadata">metadata</span><span class="symbol">:</span> <a href="-metadata/index.html"><span class="identifier">Metadata</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><br/> +<code><span class="keyword">operator</span> <span class="keyword">fun </span><a href="-file-writer-callback.html"><span class="identifier">FileWriterCallback</span></a><span class="symbol">.</span><span class="identifier">invoke</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.cordova$invoke(pl.treksoft.kvision.cordova.FileWriterCallback, pl.treksoft.kvision.cordova.FileWriter)/fileWriter">fileWriter</span><span class="symbol">:</span> <a href="-file-writer/index.html"><span class="identifier">FileWriter</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><br/> +<code><span class="keyword">operator</span> <span class="keyword">fun </span><a href="-file-callback.html"><span class="identifier">FileCallback</span></a><span class="symbol">.</span><span class="identifier">invoke</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.cordova$invoke(pl.treksoft.kvision.cordova.FileCallback, org.w3c.files.File)/file">file</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/org.w3c.files/-file/index.html"><span class="identifier">File</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><br/> +<code><span class="keyword">operator</span> <span class="keyword">fun </span><a href="-void-callback.html"><span class="identifier">VoidCallback</span></a><span class="symbol">.</span><span class="identifier">invoke</span><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></code><br/> +<code><span class="keyword">operator</span> <span class="keyword">fun </span><a href="-error-callback.html"><span class="identifier">ErrorCallback</span></a><span class="symbol">.</span><span class="identifier">invoke</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.cordova$invoke(pl.treksoft.kvision.cordova.ErrorCallback, java.lang.Error)/err">err</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-error/index.html"><span class="identifier">Error</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></td> +</tr> +<tr> +<td> +<p><a href="map.html">map</a></p> +</td> +<td> +<code><span class="keyword">fun </span><span class="symbol"><</span><span class="identifier">V</span> <span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html"><span class="identifier">Any</span></a><span class="symbol">, </span><span class="identifier">U</span> <span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html"><span class="identifier">Any</span></a><span class="symbol">, </span><span class="identifier">E</span><span class="symbol">></span> <a href="-result/index.html"><span class="identifier">Result</span></a><span class="symbol"><</span><a href="map.html#V"><span class="identifier">V</span></a><span class="symbol">,</span> <a href="map.html#E"><span class="identifier">E</span></a><span class="symbol">></span><span class="symbol">.</span><span class="identifier">map</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.cordova$map(pl.treksoft.kvision.cordova.Result((pl.treksoft.kvision.cordova.map.V, pl.treksoft.kvision.cordova.map.E)), kotlin.Function1((pl.treksoft.kvision.cordova.map.V, pl.treksoft.kvision.cordova.map.U)))/transform">transform</span><span class="symbol">:</span> <span class="symbol">(</span><a href="map.html#V"><span class="identifier">V</span></a><span class="symbol">)</span> <span class="symbol">-></span> <a href="map.html#U"><span class="identifier">U</span></a><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="map.html#U"><span class="identifier">U</span></a><span class="symbol">,</span> <a href="map.html#E"><span class="identifier">E</span></a><span class="symbol">></span></code></td> +</tr> +<tr> +<td> +<p><a href="map-error.html">mapError</a></p> +</td> +<td> +<code><span class="keyword">fun </span><span class="symbol"><</span><span class="identifier">V</span> <span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html"><span class="identifier">Any</span></a><span class="symbol">, </span><span class="identifier">E</span><span class="symbol">, </span><span class="identifier">E2</span><span class="symbol">></span> <a href="-result/index.html"><span class="identifier">Result</span></a><span class="symbol"><</span><a href="map-error.html#V"><span class="identifier">V</span></a><span class="symbol">,</span> <a href="map-error.html#E"><span class="identifier">E</span></a><span class="symbol">></span><span class="symbol">.</span><span class="identifier">mapError</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.cordova$mapError(pl.treksoft.kvision.cordova.Result((pl.treksoft.kvision.cordova.mapError.V, pl.treksoft.kvision.cordova.mapError.E)), kotlin.Function1((pl.treksoft.kvision.cordova.mapError.E, pl.treksoft.kvision.cordova.mapError.E2)))/transform">transform</span><span class="symbol">:</span> <span class="symbol">(</span><a href="map-error.html#E"><span class="identifier">E</span></a><span class="symbol">)</span> <span class="symbol">-></span> <a href="map-error.html#E2"><span class="identifier">E2</span></a><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="map-error.html#V"><span class="identifier">V</span></a><span class="symbol">,</span> <a href="map-error.html#E2"><span class="identifier">E2</span></a><span class="symbol">></span></code></td> +</tr> +<tr> +<td> +<p><a href="move-to.html">moveTo</a></p> +</td> +<td> +<code><span class="keyword">suspend</span> <span class="keyword">fun </span><a href="-entry/index.html"><span class="identifier">Entry</span></a><span class="symbol">.</span><span class="identifier">moveTo</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.cordova$moveTo(pl.treksoft.kvision.cordova.Entry, pl.treksoft.kvision.cordova.DirectoryEntry, kotlin.String)/parent">parent</span><span class="symbol">:</span> <a href="-directory-entry/index.html"><span class="identifier">DirectoryEntry</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.cordova$moveTo(pl.treksoft.kvision.cordova.Entry, pl.treksoft.kvision.cordova.DirectoryEntry, kotlin.String)/newName">newName</span><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> <span class="symbol">=</span> null<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="-entry/index.html"><span class="identifier">Entry</span></a><span class="symbol">,</span> <a href="-file-exception/index.html"><span class="identifier">FileException</span></a><span class="symbol">></span></code> +<p>Move given file or directory to a new location.</p> +</td> +</tr> +<tr> +<td> +<p><a href="or.html">or</a></p> +</td> +<td> +<code><span class="keyword">infix</span> <span class="keyword">fun </span><span class="symbol"><</span><span class="identifier">V</span> <span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html"><span class="identifier">Any</span></a><span class="symbol">, </span><span class="identifier">E</span><span class="symbol">></span> <a href="-result/index.html"><span class="identifier">Result</span></a><span class="symbol"><</span><a href="or.html#V"><span class="identifier">V</span></a><span class="symbol">,</span> <a href="or.html#E"><span class="identifier">E</span></a><span class="symbol">></span><span class="symbol">.</span><span class="identifier">or</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.cordova$or(pl.treksoft.kvision.cordova.Result((pl.treksoft.kvision.cordova.or.V, pl.treksoft.kvision.cordova.or.E)), pl.treksoft.kvision.cordova.or.V)/fallback">fallback</span><span class="symbol">:</span> <a href="or.html#V"><span class="identifier">V</span></a><span class="symbol">)</span><span class="symbol">: </span><a href="-result/-success/index.html"><span class="identifier">Result.Success</span></a><span class="symbol"><</span><a href="or.html#V"><span class="identifier">V</span></a><span class="symbol">></span></code></td> +</tr> +<tr> +<td> +<p><a href="read-as-array-buffer.html">readAsArrayBuffer</a></p> +</td> +<td> +<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">readAsArrayBuffer</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><a href="-result/index.html"><span class="identifier">Result</span></a><span class="symbol"><</span><span class="identifier"><ERROR CLASS></span><span class="symbol">,</span> <a href="-file-exception/index.html"><span class="identifier">FileException</span></a><span class="symbol">></span></code> +<p>Read file content as an array buffer.</p> +</td> +</tr> +<tr> +<td> +<p><a href="read-as-data-u-r-l.html">readAsDataURL</a></p> +</td> +<td> +<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">readAsDataURL</span><span class="symbol">(</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="-file-exception/index.html"><span class="identifier">FileException</span></a><span class="symbol">></span></code> +<p>Read file content as a data url.</p> +</td> +</tr> +<tr> +<td> +<p><a href="read-as-text.html">readAsText</a></p> +</td> +<td> +<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">readAsText</span><span class="symbol">(</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="-file-exception/index.html"><span class="identifier">FileException</span></a><span class="symbol">></span></code> +<p>Read file content as a plain string.</p> +</td> +</tr> +<tr> +<td> +<p><a href="read-entries.html">readEntries</a></p> +</td> +<td> +<code><span class="keyword">suspend</span> <span class="keyword">fun </span><a href="-directory-reader/index.html"><span class="identifier">DirectoryReader</span></a><span class="symbol">.</span><span class="identifier">readEntries</span><span class="symbol">(</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.collections/-list/index.html"><span class="identifier">List</span></a><span class="symbol"><</span><a href="-entry/index.html"><span class="identifier">Entry</span></a><span class="symbol">></span><span class="symbol">,</span> <a href="-file-exception/index.html"><span class="identifier">FileException</span></a><span class="symbol">></span></code> +<p>List directory entries for a given DirectoryReader.</p> +<code><span class="keyword">suspend</span> <span class="keyword">fun </span><a href="-directory-entry/index.html"><span class="identifier">DirectoryEntry</span></a><span class="symbol">.</span><span class="identifier">readEntries</span><span class="symbol">(</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.collections/-list/index.html"><span class="identifier">List</span></a><span class="symbol"><</span><a href="-entry/index.html"><span class="identifier">Entry</span></a><span class="symbol">></span><span class="symbol">,</span> <a href="-file-exception/index.html"><span class="identifier">FileException</span></a><span class="symbol">></span></code> +<p>List directory entries for a given parent directory entry.</p> +</td> +</tr> +<tr> +<td> +<p><a href="remove.html">remove</a></p> +</td> +<td> +<code><span class="keyword">suspend</span> <span class="keyword">fun </span><a href="-entry/index.html"><span class="identifier">Entry</span></a><span class="symbol">.</span><span class="identifier">remove</span><span class="symbol">(</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="-entry/index.html"><span class="identifier">Entry</span></a><span class="symbol">,</span> <a href="-file-exception/index.html"><span class="identifier">FileException</span></a><span class="symbol">></span></code> +<p>Remove given file or directory.</p> +</td> +</tr> +<tr> +<td> +<p><a href="remove-recursively.html">removeRecursively</a></p> +</td> +<td> +<code><span class="keyword">suspend</span> <span class="keyword">fun </span><a href="-directory-entry/index.html"><span class="identifier">DirectoryEntry</span></a><span class="symbol">.</span><span class="identifier">removeRecursively</span><span class="symbol">(</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="-directory-entry/index.html"><span class="identifier">DirectoryEntry</span></a><span class="symbol">,</span> <a href="-file-exception/index.html"><span class="identifier">FileException</span></a><span class="symbol">></span></code> +<p>Remove given directory recursively.</p> +</td> +</tr> +<tr> +<td> +<p><a href="success.html">success</a></p> +</td> +<td> +<code><span class="keyword">fun </span><span class="symbol"><</span><span class="identifier">V</span> <span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html"><span class="identifier">Any</span></a><span class="symbol">></span> <a href="-result/index.html"><span class="identifier">Result</span></a><span class="symbol"><</span><a href="success.html#V"><span class="identifier">V</span></a><span class="symbol">,</span> <span class="identifier">*</span><span class="symbol">></span><span class="symbol">.</span><span class="identifier">success</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.cordova$success(pl.treksoft.kvision.cordova.Result((pl.treksoft.kvision.cordova.success.V, java.lang.Exception)), kotlin.Function1((pl.treksoft.kvision.cordova.success.V, kotlin.Unit)))/f">f</span><span class="symbol">:</span> <span class="symbol">(</span><a href="success.html#V"><span class="identifier">V</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><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></td> +</tr> +<tr> +<td> +<p><a href="to-blob.html">toBlob</a></p> +</td> +<td> +<code><span class="keyword">fun </span><span class="identifier"><ERROR CLASS></span><span class="symbol">.</span><span class="identifier">toBlob</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier"><ERROR CLASS></span></code> +<p>Convert array buffer to a blob.</p> +</td> +</tr> +<tr> +<td> +<p><a href="write.html">write</a></p> +</td> +<td> +<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> <span class="identifier"><ERROR CLASS></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="-file-entry/index.html"><span class="identifier">FileEntry</span></a><span class="symbol">,</span> <a href="-file-exception/index.html"><span class="identifier">FileException</span></a><span class="symbol">></span></code> +<p>Write file content from a Blob.</p> +<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> <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"><</span><a href="-file-entry/index.html"><span class="identifier">FileEntry</span></a><span class="symbol">,</span> <a href="-file-exception/index.html"><span class="identifier">FileException</span></a><span class="symbol">></span></code> +<p>Write file content from a plain string.</p> +</td> +</tr> +<tr> +<td> +<p><a href="write-data-ur-l.html">writeDataUrL</a></p> +</td> +<td> +<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">writeDataUrL</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.cordova$writeDataUrL(pl.treksoft.kvision.cordova.FileEntry, kotlin.String)/dataUrl">dataUrl</span><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><span class="symbol">: </span><a href="-result/index.html"><span class="identifier">Result</span></a><span class="symbol"><</span><a href="-file-entry/index.html"><span class="identifier">FileEntry</span></a><span class="symbol">,</span> <a href="-file-exception/index.html"><span class="identifier">FileException</span></a><span class="symbol">></span></code> +<p>Write file content from a data url.</p> +</td> +</tr> +</tbody> +</table> +</BODY> +</HTML> |