示例#1
0
 public void GetFile(JsString path, Flags options, FileEntryCallback successCallback, FileErrorCallback errorCallback) { }
示例#2
0
 public void File(FileCallback successCallback, FileErrorCallback errorCallback)
 {
 }
示例#3
0
 public void GetParent(DirectoryEntryCallback successCallback, FileErrorCallback errorCallback)
 {
 }
示例#4
0
 public void Remove(VoidCallback successCallback, FileErrorCallback errorCallback)
 {
 }
示例#5
0
 /// <summary>
 /// Return a File object that represents the current state of the file that this FileEntry represents.
 /// </summary>
 /// <param name="successCallback">A callback that is called with a File object.</param>
 /// <param name="errorCallback"> A callback that is called if an error occurs when creating the File object (e.g. the underlying file no longer exists).
 /// Invoked with a FileError object.</param>
 /// <returns></returns>
 public File file(FileSuccessCallback successCallback, FileErrorCallback errorCallback) { return null; }
示例#6
0
 public void GetMetadata(MetadataCallback successCallback, FileErrorCallback errorCallback)
 {
 }
示例#7
0
 public void GetParent(DirectoryEntryCallback successCallback, FileErrorCallback errorCallback) { }
示例#8
0
 /// <summary>
 /// Deletes a directory. It is an error to attempt to:
 /// delete a directory that is not empty;
 /// delete the root directory of a filesystem.
 /// </summary>
 /// <param name="successCallback"> A callback that is called after the directory has been deleted. Invoked with no parameters</param>
 /// <param name="errorCallback">A callback that is called if an error occurs when attempting to delete the directory. Invoked with a FileError object</param>
 /// <returns></returns>
 /// <example>
 /// usage
 /// <code>
 /// function success(entry) {
 ///     console.log("Removal succeeded");
 /// }
 /// function fail(error) {
 ///     alert('Error removing directory: ' + error.code);
 /// }
 /// remove this directory
 /// entry.remove(success, fail);
 /// </code>
 /// </example>
 public void remove(JsAction successCallback, FileErrorCallback errorCallback) { }
示例#9
0
 public void GetMetadata(MetadataCallback successCallback, FileErrorCallback errorCallback) { }
示例#10
0
 public void SetMetadata(MetadataCallback successCallback, FileErrorCallback errorCallback, Metadata metadataObject) { }
示例#11
0
 public void ReadEntries(EntriesCallback successCallback, FileErrorCallback errorCallback) { }
示例#12
0
 public void ResolveLocalFileSystemUrl(JsString url, EntryCallback successCallback, FileErrorCallback errorCallback = null)
 {
 }
示例#13
0
 public void RequestFileSystem(LocalFileSystemType type, ulong size, FileSystemCallback successCallback, FileErrorCallback errorCallback = null)
 {
 }
示例#14
0
 public void File(FileCallback successCallback, FileErrorCallback errorCallback) { }
示例#15
0
 public void CopyTo(DirectoryEntry parent, JsString newName, EntryCallback successCallback, FileErrorCallback errorCallback) { }
示例#16
0
 public void CreateWriter(FileWriterCallback successCallback, FileErrorCallback errorCallback) { }
示例#17
0
 public void Remove(VoidCallback successCallback, FileErrorCallback errorCallback) { }
示例#18
0
 /// <summary>
 /// Look up the parent DirectoryEntry containing the directory.
 /// </summary>
 /// <param name="successCallback">A callback that is called with the directory's parent DirectoryEntry.</param>
 /// <param name="errorCallback"> A callback that is called if an error occurs when attempting to retrieve the parent DirectoryEntry. Invoked with a FileError object</param>
 /// <returns></returns>
 /// <example>
 /// usage
 /// <code>
 /// function success(parent) {
 ///    console.log("Parent Name: " + parent.name);
 ///}
 ///function fail(error) {
 ///    alert('Failed to get parent directory: ' + error.code);
 ///}
 /// // Get the parent DirectoryEntry
 ///entry.getParent(success, fail);
 /// </code>
 /// </example>
 public void getParent(JsAction<DirectoryEntry> successCallback, FileErrorCallback errorCallback) { }
示例#19
0
 public void GetDirectory(JsString path, Flags options, DirectoryEntryCallback successCallback, FileErrorCallback errorCallback)
 {
 }
示例#20
0
 public void ReadEntries(EntriesCallback successCallback, FileErrorCallback errorCallback)
 {
 }
示例#21
0
 public void GetFile(JsString path, Flags options, FileEntryCallback successCallback, FileErrorCallback errorCallback)
 {
 }
示例#22
0
 public void SetMetadata(MetadataCallback successCallback, FileErrorCallback errorCallback, Metadata metadataObject)
 {
 }
示例#23
0
 public void RemoveRecursively(VoidCallback successCallback, FileErrorCallback errorCallback = null)
 {
 }
示例#24
0
 public void CopyTo(DirectoryEntry parent, JsString newName, EntryCallback successCallback, FileErrorCallback errorCallback)
 {
 }
示例#25
0
 public void RequestFileSystem(LocalFileSystemType type, ulong size, FileSystemCallback successCallback, FileErrorCallback errorCallback = null) { }
示例#26
0
 public void GetDirectory(JsString path, Flags options, DirectoryEntryCallback successCallback, FileErrorCallback errorCallback) { }
示例#27
0
 public void ResolveLocalFileSystemUrl(JsString url, EntryCallback successCallback, FileErrorCallback errorCallback = null) { }
示例#28
0
 public void RemoveRecursively(VoidCallback successCallback, FileErrorCallback errorCallback = null) { }
示例#29
0
 public void CreateWriter(FileWriterCallback successCallback, FileErrorCallback errorCallback)
 {
 }