@cotecna/capacitor-mediastore
v1.0.0
Published
Manage Android media files
Downloads
78
Maintainers
Readme
@cotecna/capacitor-mediastore
Manage Android media files
Install
npm install @cotecna/capacitor-mediastore
npx cap sync
API
savePicture(...)
savePicture(options: SavePictureOptions) => Promise<SavePictureResult>
| Param | Type |
| ------------- | ----------------------------------------------------------------- |
| options
| SavePictureOptions |
Returns: Promise<SavePictureResult>
saveToDownloads(...)
saveToDownloads(options: SaveToDownloadsOptions) => Promise<SaveToDownloadsResult>
| Param | Type |
| ------------- | ------------------------------------------------------------------------- |
| options
| SaveToDownloadsOptions |
Returns: Promise<SaveToDownloadsResult>
saveVideo(...)
saveVideo(options: SaveVideoOptions) => Promise<SaveVideoResult>
| Param | Type |
| ------------- | ------------------------------------------------------------- |
| options
| SaveVideoOptions |
Returns: Promise<SaveVideoResult>
Interfaces
SavePictureResult
| Prop | Type |
| --------- | ------------------- |
| uri
| string |
SavePictureOptions
| Prop | Type |
| -------------- | ------------------- |
| album
| string |
| filename
| string |
| path
| string |
SaveToDownloadsResult
| Prop | Type |
| --------- | ------------------- |
| uri
| string |
SaveToDownloadsOptions
| Prop | Type |
| -------------- | ------------------- |
| filename
| string |
| path
| string |
SaveVideoResult
| Prop | Type |
| --------- | ------------------- |
| uri
| string |
SaveVideoOptions
| Prop | Type |
| -------------- | ------------------- |
| album
| string |
| filename
| string |
| path
| string |