1.0.0-beta.4 • Published 3 years ago
@mozartec/capacitor-audio-recorder v1.0.0-beta.4
@mozartec/capacitor-audio-recorder
Record Device Audio
Install
npm install @mozartec/capacitor-audio-recorder
npx cap sync
API
checkPermissions()
checkPermissions() => any
Returns: any
requestPermissions()
requestPermissions() => any
Returns: any
startRecording()
startRecording() => any
Returns: any
stopRecording()
stopRecording() => any
Returns: any
Interfaces
PermissionStatus
Prop | Type |
---|---|
audioRecorder | "prompt" | "prompt-with-rationale" | "granted" | "denied" | "limited" |
AudioRecording
Prop | Type |
---|---|
base64String | string |
duration | number |
1.0.0-beta.4
3 years ago
1.0.0-beta.3
3 years ago