Capacitor plugin for Firebase Cloud Storage.
deleteFile- 删除一个文件。getDownloadUrl- 获取一个文件的下载链接。getMetadata- 获取一个文件的元数据。listFiles- 列出一个目录中的文件。
Public API
Section titled “Public API”| 方法 | 描述 |
|---|---|
deleteFile | 删除一个文件。 |
getDownloadUrl | 获取一个文件的下载链接。 |
getMetadata | 获取一个文件的元数据。 |
listFiles | List files in a directory. |
updateMetadata | Update the metadata for a file. |
uploadFile | Upload a file. |
useEmulator | Instrument your app to talk to the Cloud Storage emulator. |
getPluginVersion | Get the version of this plugin. |
Source Of Truth
Section titled “Source Of Truth”This reference is synced from src/definitions.ts in capacitor-firebase.
Keep going from @capgo/capacitor-firebase-storage
Section titled “Keep going from @capgo/capacitor-firebase-storage”If you are using @capgo/capacitor-firebase-storage 为了规划存储和文件处理,连接它与 @capgo/capacitor-data-storage-sqlite 在 @capgo/capacitor-data-storage-sqlite 中了解实现细节 使用 @capgo/capacitor-data-storage-sqlite 为 @capgo/capacitor-data-storage-sqlite 提供本机能力 @capgo/capacitor-file 在 @capgo/capacitor-file 中了解实现细节 使用 @capgo/capacitor-file 为 @capgo/capacitor-file 提供本机能力 并使用 @capgo/capacitor-uploader 为 @capgo/capacitor-uploader 的实现细节。