Manage Android media files
# Capacitor 5
npm install @agorapulse/capacitor-mediastore@latest
# Capacitor 4
npm install @agorapulse/[email protected]
# Capacitor 3
npm install @agorapulse/[email protected]
# Then
npx cap sync
savePicture(options: SavePictureOptions) => Promise<SavePictureResult>
Param | Type |
---|---|
options |
SavePictureOptions |
Returns: Promise<SavePictureResult>
saveToDownloads(options: SaveToDownloadsOptions) => Promise<SaveToDownloadsResult>
Param | Type |
---|---|
options |
SaveToDownloadsOptions |
Returns: Promise<SaveToDownloadsResult>
saveVideo(options: SaveVideoOptions) => Promise<SaveVideoResult>
Param | Type |
---|---|
options |
SaveVideoOptions |
Returns: Promise<SaveVideoResult>
Prop | Type |
---|---|
uri |
string |
Prop | Type |
---|---|
album |
string |
filename |
string |
path |
string |
Prop | Type |
---|---|
uri |
string |
Prop | Type |
---|---|
filename |
string |
path |
string |
Prop | Type |
---|---|
uri |
string |
Prop | Type |
---|---|
album |
string |
filename |
string |
path |
string |