Lines Matching refs:Promise
22 export declare function getInfoAsync(fileUri: string, options?: InfoOptions): Promise<FileInfo>;
29 export declare function readAsStringAsync(fileUri: string, options?: ReadingOptions): Promise<strin…
47 export declare function getContentUriAsync(fileUri: string): Promise<string>;
55 …ion writeAsStringAsync(fileUri: string, contents: string, options?: WritingOptions): Promise<void>;
61 export declare function deleteAsync(fileUri: string, options?: DeletingOptions): Promise<void>;
62 export declare function deleteLegacyDocumentDirectoryAndroid(): Promise<void>;
67 export declare function moveAsync(options: RelocatingOptions): Promise<void>;
73 export declare function copyAsync(options: RelocatingOptions): Promise<void>;
79 …eclare function makeDirectoryAsync(fileUri: string, options?: MakeDirectoryOptions): Promise<void>;
85 export declare function readDirectoryAsync(fileUri: string): Promise<string[]>;
91 export declare function getFreeDiskStorageAsync(): Promise<number>;
97 export declare function getTotalDiskCapacityAsync(): Promise<number>;
119 … downloadAsync(uri: string, fileUri: string, options?: DownloadOptions): Promise<FileSystemDownloa…
148 …dAsync(url: string, fileUri: string, options?: FileSystemUploadOptions): Promise<FileSystemUploadR…
172 cancelAsync(): Promise<void>;
188 uploadAsync(): Promise<FileSystemUploadResult | undefined>;
204 downloadAsync(): Promise<FileSystemDownloadResult | undefined>;
210 pauseAsync(): Promise<DownloadPauseState>;
215 resumeAsync(): Promise<FileSystemDownloadResult | undefined>;
318 …function requestDirectoryPermissionsAsync(initialFileUrl?: string | null): Promise<FileSystemReque…
324 function readDirectoryAsync(dirUri: string): Promise<string[]>;
331 function makeDirectoryAsync(parentUri: string, dirName: string): Promise<string>;
339 … function createFileAsync(parentUri: string, fileName: string, mimeType: string): Promise<string>;