File

object File(source)

Deprecated

The kvision-cordova module is deprecated and will be removed in a future version.

Main object for Cordova file.

Types

Link copied to clipboard

File system types.

Properties

Link copied to clipboard
const val ABORT_ERR: Int = 3
Link copied to clipboard
const val ENCODING_ERR: Int = 5
Link copied to clipboard
Link copied to clipboard
const val INVALID_STATE_ERR: Int = 7
Link copied to clipboard
Link copied to clipboard
const val NOT_FOUND_ERR: Int = 1
Link copied to clipboard
const val NOT_READABLE_ERR: Int = 4
Link copied to clipboard
const val PATH_EXISTS_ERR: Int = 12
Link copied to clipboard
const val QUOTA_EXCEEDED_ERR: Int = 10
Link copied to clipboard
const val SECURITY_ERR: Int = 2
Link copied to clipboard
const val SYNTAX_ERR: Int = 8
Link copied to clipboard
const val TYPE_MISMATCH_ERR: Int = 11

Functions

Link copied to clipboard

Get system directories.

Link copied to clipboard
suspend fun requestFileSystem(fileSystemType: File.FileSystemType, size: Long = 0): Result<FileSystem>

Request a file system of a given type.

Link copied to clipboard

Resolve given path to a file or directory entry.

Link copied to clipboard

Resolve given path to a directory entry.

Link copied to clipboard

Resolve given path to a file entry.