@agorapulse/capacitor-mediastore
Manage Android media files
Install
npm install @agorapulse/capacitor-mediastore@latest
npm install @agorapulse/capacitor-mediastore@0.1.0
npm install @agorapulse/capacitor-mediastore@0.0.3
npx cap sync
API
savePicture(...)
savePicture(options: SavePictureOptions) => Promise<SavePictureResult>
Returns: Promise<SavePictureResult>
saveToDownloads(...)
saveToDownloads(options: SaveToDownloadsOptions) => Promise<SaveToDownloadsResult>
Returns: Promise<SaveToDownloadsResult>
saveVideo(...)
saveVideo(options: SaveVideoOptions) => Promise<SaveVideoResult>
Returns: Promise<SaveVideoResult>
Interfaces
SavePictureResult
SavePictureOptions
Prop | Type |
---|
album | string |
filename | string |
path | string |
SaveToDownloadsResult
SaveToDownloadsOptions
Prop | Type |
---|
filename | string |
path | string |
SaveVideoResult
SaveVideoOptions
Prop | Type |
---|
album | string |
filename | string |
path | string |