This API is part of the deprecated Chrome Apps platform. Learn more about migrating your app. Description Use the Permissions Availability Summary
TypesAcceptOptionProperties
ChooseEntryOptionsProperties
ChooseEntryTypeType"openFile" , "openWritableFile" ,"saveFile" "openDirectory" RequestFileSystemOptionsProperties
VolumePropertiesVolumeListChangedEventPropertiesMethodschooseEntry Ask the user to choose a file or directory. Parameters
getDisplayPath Get the display path of an Entry object. The display path is based on the full path of the file or directory on the local file system, but may be made more readable for display purposes. Parameters
getVolumeList Returns a list of volumes available for Parameters
getWritableEntry Get a writable Entry from another Entry. This call will fail with a runtime error if the application does not have the 'write' permission under 'fileSystem'. If entry is a DirectoryEntry, this call will fail if the application does not have the 'directory' permission under 'fileSystem'. Parameters
isRestorable Returns whether the app has permission to restore the entry with the given id. Parameters
isWritableEntry Gets whether this Entry is writable or not. Parameters
requestFileSystem Requests access to a file system for a volume represented by Parameters
restoreEntry Returns the file entry with the given id if it can be restored. This call will fail with a runtime error otherwise. Parameters
retainEntry Returns an id that can be passed to restoreEntry to regain access to a given file entry. Only the 500 most recently used entries are retained, where calls to retainEntry and restoreEntry count as use. If the app has the 'retainEntries' permission under 'fileSystem', entries are retained indefinitely. Otherwise, entries are retained only while the app is running and across restarts. ParametersReturnsEventsonVolumeListChanged Called when a list of available volumes is changed. Table of contents
|