AudioRecorderPluginInstance
Defined in: src/obsidian/internals/InternalPlugins/AudioRecorder/AudioRecorderPluginInstance.d.ts:6
Extends
Properties
app
app:
App
Defined in: src/obsidian/internals/InternalPlugins/AudioRecorder/AudioRecorderPluginInstance.d.ts:7
description
description:
string
Defined in: src/obsidian/internals/InternalPlugins/InternalPluginInstance.d.ts:5
Inherited from
InternalPluginInstance
.description
extension
extension:
string
Defined in: src/obsidian/internals/InternalPlugins/AudioRecorder/AudioRecorderPluginInstance.d.ts:8
id
id:
string
Defined in: src/obsidian/internals/InternalPlugins/InternalPluginInstance.d.ts:6
Inherited from
name
name:
string
Defined in: src/obsidian/internals/InternalPlugins/InternalPluginInstance.d.ts:7
Inherited from
onDisable()?
optional
onDisable: (app
,plugin
) =>void
Defined in: src/obsidian/internals/InternalPlugins/InternalPluginInstance.d.ts:8
Parameters
app
plugin
Returns
void
Inherited from
InternalPluginInstance
.onDisable
onEnable()?
optional
onEnable: (app
,plugin
) =>Promise
<void
>
Defined in: src/obsidian/internals/InternalPlugins/InternalPluginInstance.d.ts:9
Parameters
app
plugin
Returns
Promise
<void
>
Inherited from
InternalPluginInstance
.onEnable
onUserDisable()?
optional
onUserDisable: (app
) =>void
Defined in: src/obsidian/internals/InternalPlugins/InternalPluginInstance.d.ts:10
Parameters
app
Returns
void
Inherited from
InternalPluginInstance
.onUserDisable
onUserEnable()?
optional
onUserEnable: (app
) =>void
Defined in: src/obsidian/internals/InternalPlugins/InternalPluginInstance.d.ts:11
Parameters
app
Returns
void
Inherited from
InternalPluginInstance
.onUserEnable
plugin
plugin:
AudioRecorderPlugin
Defined in: src/obsidian/internals/InternalPlugins/AudioRecorder/AudioRecorderPluginInstance.d.ts:9
recorder
recorder:
null
|MediaRecorder
Defined in: src/obsidian/internals/InternalPlugins/AudioRecorder/AudioRecorderPluginInstance.d.ts:10
recording
recording:
boolean
Defined in: src/obsidian/internals/InternalPlugins/AudioRecorder/AudioRecorderPluginInstance.d.ts:11
Methods
checkPermission()
checkPermission():
Promise
<boolean
>
Defined in: src/obsidian/internals/InternalPlugins/AudioRecorder/AudioRecorderPluginInstance.d.ts:13
Returns
Promise
<boolean
>
init()
init(
app
,plugin
):void
Defined in: src/obsidian/internals/InternalPlugins/InternalPluginInstance.d.ts:13
Parameters
app
plugin
Returns
void
Inherited from
onRecordAudio()
onRecordAudio():
Promise
<void
>
Defined in: src/obsidian/internals/InternalPlugins/AudioRecorder/AudioRecorderPluginInstance.d.ts:14
Returns
Promise
<void
>
onStartRecording()
onStartRecording():
Promise
<void
>
Defined in: src/obsidian/internals/InternalPlugins/AudioRecorder/AudioRecorderPluginInstance.d.ts:15
Returns
Promise
<void
>
onStopRecording()
onStopRecording():
void
Defined in: src/obsidian/internals/InternalPlugins/AudioRecorder/AudioRecorderPluginInstance.d.ts:16
Returns
void
saveRecording()
saveRecording(
audioBuffer
):Promise
<void
>
Defined in: src/obsidian/internals/InternalPlugins/AudioRecorder/AudioRecorderPluginInstance.d.ts:17
Parameters
audioBuffer
Returns
Promise
<void
>
showRecordingMessage()
showRecordingMessage(
message
,isError
):void
Defined in: src/obsidian/internals/InternalPlugins/AudioRecorder/AudioRecorderPluginInstance.d.ts:18
Parameters
message
string
isError
boolean
Returns
void
startRecording()
startRecording(
stream
):void
Defined in: src/obsidian/internals/InternalPlugins/AudioRecorder/AudioRecorderPluginInstance.d.ts:19
Parameters
stream
Returns
void