agorapulse / capacitor-mediastore

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

@agorapulse/capacitor-mediastore

Manage Android media files

Install

# Capacitor 5
npm install @agorapulse/capacitor-mediastore@latest
# Capacitor 4
npm install @agorapulse/capacitor-mediastore@0.1.0
# Capacitor 3
npm install @agorapulse/capacitor-mediastore@0.0.3

# Then
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

About

License:MIT License


Languages

Language:Java 63.4%Language:TypeScript 13.2%Language:Swift 9.6%Language:Ruby 6.8%Language:Objective-C 4.1%Language:JavaScript 2.9%