Record

Property | Function | Type |
Record url | Gets saved file name with path and prefix, e.g. file:///C:/Users/work/Music/29.03.2019-13.20.17.wav
Actions editor:
Property > Record > Record url
Code:
widget.content.recordUrl | string |
Audio format | Holds the audio codec
Actions editor:
Property > Record > Audio format
Code:
widget.content.audioFormat | enum |
File container | Holds media container format
Actions editor:
Property > Record > File container
Code:
widget.content.fileContainer | string |
Sample rate | Holds audio sample rate in Hz
Actions editor:
Property > Record > Sample rate
Code:
widget.content.sampleRate | int |
Channels | Holds number of audio channels
Actions editor:
Property > Record > Channels
Code:
widget.content.channels | int |
Record state | Gets current record state
Actions editor:
Property > Record > Record state
Code:
widget.content.recordState | enum
Values:
0 - Recording
1 - Paused
2 - Stopped |
Elapsed time | Gets elapsed time in format MM:SS, e.g. 0:17
Actions editor:
Property > Record > Elapsed time
Code:
widget.content.elapsedTime | string |
Record error | Gets string describing the current error state
Actions editor:
Property > Record > Record error
Code:
widget.content.recordError | string |
Property | Function |
Start record | Actions editor:
Actions > Common > Start record
Code:
widget.content.script.actionRecordStart() |
Stop record | Actions editor:
Actions > Common > Stop record
Code:
widget.content.script.actionRecordStop() |
Pause record | Actions editor:
Actions > Common > Pause record
Code:
widget.content.script.actionRecordPause() |
Property | Function |
Record started | Event when record started
Actions editor:
Event > Record started
Code:
widget.content.script.eventRecordStarted() |
Record paused | Event when record paused
Actions editor:
Event > Record paused
Code:
widget.content.script.eventRecordPaused() |
Record stopped | Event when record stopped
Actions editor:
Event > Record stopped
Code:
widget.content.script.eventRecordStopped() |
Record error | Event when record error
Actions editor:
Event > Record error
Code:
widget.content.script.eventRecordError() |
Last modified 2yr ago