kvision / pl.treksoft.kvision.cordova / LocalFileSystem

LocalFileSystem

external object LocalFileSystem

Properties

PERSISTENT

var PERSISTENT: Number

TEMPORARY

var TEMPORARY: Number

Functions

requestFileSystem

fun requestFileSystem(type: Number, size: Number, successCallback: FileSystemCallback, errorCallback: ErrorCallback? = definedExternally): Unit

resolveLocalFileSystemURL

fun resolveLocalFileSystemURL(url: String, successCallback: EntryCallback, errorCallback: ErrorCallback? = definedExternally): Unit

webkitRequestFileSystem

fun webkitRequestFileSystem(type: Number, size: Number, successCallback: FileSystemCallback, errorCallback: ErrorCallback? = definedExternally): Unit

Extension Functions

createInstance

fun <T> Any?.createInstance(vararg args: dynamic): T

Helper function for creating JavaScript objects from dynamic constructors.