kvision / pl.treksoft.kvision.cordova / EntrySync

EntrySync

external interface EntrySync

Properties

filesystem

abstract var filesystem: FileSystemSync

fullPath

abstract var fullPath: String

isDirectory

abstract var isDirectory: Boolean

isFile

abstract var isFile: Boolean

name

abstract var name: String

Functions

copyTo

abstract fun copyTo(parent: DirectoryEntrySync, newName: String? = definedExternally): EntrySync

getMetadata

abstract fun getMetadata(): Metadata

getParent

abstract fun getParent(): DirectoryEntrySync

moveTo

abstract fun moveTo(parent: DirectoryEntrySync, newName: String? = definedExternally): EntrySync

remove

abstract fun remove(): Unit

toURL

abstract fun toURL(): String

Extension Functions

createInstance

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

Helper function for creating JavaScript objects from dynamic constructors.

Inheritors

DirectoryEntrySync

external interface DirectoryEntrySync : EntrySync

FileEntrySync

external interface FileEntrySync : EntrySync