AudioRecorderPluginInstance
Extends
Properties
app
app:
App
description
description:
string
Inherited from
InternalPluginInstance
.description
extension
extension:
string
id
id:
string
Inherited from
name
name:
string
Inherited from
plugin
plugin:
AudioRecorderPlugin
recorder
recorder:
null
|MediaRecorder
recording
recording:
boolean
Methods
checkPermission()
checkPermission():
Promise
<boolean
>
Returns
Promise
<boolean
>
init()
init(
app
,plugin
):void
Parameters
• app: App
• plugin: AudioRecorderPlugin
Returns
void
Inherited from
onRecordAudio()
onRecordAudio():
Promise
<void
>
Returns
Promise
<void
>
onStartRecording()
onStartRecording():
Promise
<void
>
Returns
Promise
<void
>
onStopRecording()
onStopRecording():
void
Returns
void
saveRecording()
saveRecording(
audioBuffer
):Promise
<void
>
Parameters
• audioBuffer: ArrayBuffer
Returns
Promise
<void
>
showRecordingMessage()
showRecordingMessage(
message
,isError
):void
Parameters
• message: string
• isError: boolean
Returns
void
startRecording()
startRecording(
stream
):void
Parameters
• stream: MediaStream
Returns
void