FileRequest

已废弃
This feature is obsolete. Although it may still work in some browsers, its use is discouraged since it could be removed at any time. Try to avoid using it.

概述

这个 FileRequest 接口继承自 DOMRequest 接口,用来提供一些 LockedFile 对象需要的额外的必要的属性。

属性

FileRequest.lockedFile 只读
请求产生的LockedFile 对象。
FileRequest.onprogress
FileRequest 在处理操作过程中不断调用的一个回调函数的引用。

FileRequest 接口也继承了 DOMRequest 接口。

DOMRequest.onsuccess
A callback handler called when the operation represented by the DOMRequest is completed.
DOMRequest.onerror
A callback handler that gets called when an error occurs while processing the operation.
DOMRequest.readyState
A string indicating whether or not the operation is finished running. Its value is either "done" or "pending".
DOMRequest.result
The operation's result.
DOMRequest.error
Error information, if any.

方法

无。

Specifications

Specification Status Comment
FileSystem API Editor's Draft Draft proposal.

查看相关

文档标签和贡献者