Interface LocalFileSystemSync

Hierarchy

Index

Properties

Methods

Properties

public PERSISTENT: number

Used for storage that should not be removed by the user agent without application or user permission.

public TEMPORARY: number

Used for storage with no guarantee of persistence.

Methods

public requestFileSystemSync(type: number, size: number): FileSystemSync

Requests a filesystem in which to store application data.

Parameters

  • type: number

    Whether the filesystem requested should be persistent, as defined above. Use one of TEMPORARY or PERSISTENT.

  • size: number

    This is an indicator of how much storage space, in bytes, the application expects to need.

Returns

FileSystemSync

public resolveLocalFileSystemSyncURL(url: string): EntrySync

Allows the user to look up the Entry for a file or directory referred to by a local URL.

Parameters

  • url: string

    A URL referring to a local file in a filesystem accessable via this API.

Returns

EntrySync

public webkitRequestFileSystemSync(type: number, size: number): FileSystemSync

see requestFileSystemSync

Parameters

  • type: number
  • size: number

Returns

FileSystemSync