docs(cordova-file): added ArrayBuffer

docs(cordova-file): added ArrayBuffer
This commit is contained in:
Daniel Sogl 2018-03-17 00:37:48 +01:00 committed by GitHub
commit dfcc281e56
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1000,7 +1000,7 @@ export class File extends IonicNativePlugin {
* *
* @param {string} path Base FileSystem. Please refer to the iOS and Android filesystems above * @param {string} path Base FileSystem. Please refer to the iOS and Android filesystems above
* @param {string} fileName path relative to base path * @param {string} fileName path relative to base path
* @param {string | Blob} text content or blob to write * @param {string | Blob | ArrayBuffer} text content, blob or ArrayBuffer to write
* @param {IWriteOptions} options replace file if set to true. See WriteOptions for more information. * @param {IWriteOptions} options replace file if set to true. See WriteOptions for more information.
* @returns {Promise<any>} Returns a Promise that resolves to updated file entry or rejects with an error. * @returns {Promise<any>} Returns a Promise that resolves to updated file entry or rejects with an error.
*/ */