Options
All
  • Public
  • Public/Protected
  • All
Menu

Represents a single file entry from the cordova file plugin system.

Hierarchy

  • CordovaFileEntryApi

Implements

Index

Constructors

constructor

Properties

Protected Readonly baseCordovaDirectoryNameDelegate

baseCordovaDirectoryNameDelegate: () => string

Type declaration

    • (): string
    • Returns string

Protected Readonly cordovaFile

Protected Readonly directoryName

directoryName: string

Protected Readonly fileName

fileName: string

Protected targetBaseDirectory

targetBaseDirectory: null | RFSCordovaDirectoryEntryLike = null

Protected targetDirectory

targetDirectory: null | RFSCordovaDirectoryEntryLike = null

Protected targetFile

targetFile: null | RFSCordovaFileEntryLike = null

Protected targetFileMetadata

targetFileMetadata: null | RFSCordovaFileEntryMetadataLike = null

Accessors

baseCordovaDirectoryName

  • get baseCordovaDirectoryName(): string

Methods

getDirectoryName

  • getDirectoryName(): string

getFileName

  • getFileName(): string

getLastModificationTime

  • getLastModificationTime(): number

getSize

  • getSize(): number

read

  • read(): Promise<ArrayBuffer>

refresh

  • refresh(): Promise<void>

toURL

  • toURL(): string

write

  • write(data: ArrayBuffer, overwrite: boolean): Promise<void>

Static createCacheRotationFiles

Static createRotationFiles

Generated using TypeDoc