kvision / pl.treksoft.kvision.cordova / DirectoryReader

DirectoryReader

external interface DirectoryReader

Functions

readEntries

abstract fun readEntries(successCallback: EntriesCallback, errorCallback: ErrorCallback? = definedExternally): Unit

Extension Functions

createInstance

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

Helper function for creating JavaScript objects from dynamic constructors.

readEntries

suspend fun DirectoryReader.readEntries(): Result<List<Entry>, FileException>

List directory entries for a given DirectoryReader.