dart/core/js/file_system_provider library

Classes

JSChrome

Properties

chrome JSChrome
no setter

Typedefs

ActionsCallback = JSFunction
Success callback for the onGetActionsRequested event.
ChangeType = String
Type of a change detected on the observed directory.
CommonActionId = String
List of common actions. "SHARE" is for sharing files with others. "SAVE_FOR_OFFLINE" for pinning (saving for offline access). "OFFLINE_NOT_NECESSARY" for notifying that the file doesn't need to be stored for offline access anymore. Used by onGetActionsRequested and onExecuteActionRequested.
EntriesCallback = JSFunction
Success callback for the onReadDirectoryRequested event. If more entries will be returned, then hasMore must be true, and it has to be called again with additional entries. If no more entries are available, then hasMore must be set to false.
FileDataCallback = JSFunction
Success callback for the onReadFileRequested event. If more data will be returned, then hasMore must be true, and it has to be called again with additional entries. If no more data is available, then hasMore must be set to false.
MetadataCallback = JSFunction
Success callback for the onGetMetadataRequested event.
OpenFileMode = String
Mode of opening a file. Used by onOpenFileRequested.
ProviderError = String
Error codes used by providing extensions in response to requests as well as in case of errors when calling methods of the API. For success, "OK" must be used.
ProviderErrorCallback = JSFunction
Callback to be called by the providing extension in case of an error. Any error code is allowed except OK.
ProviderSuccessCallback = JSFunction
Callback to be called by the providing extension in case of a success.

Exceptions / Errors

ApiNotAvailableException