Available since firmware version 7.6
The roMicrophone component sends the
roMicrophoneEvent with the following predicates that indicate its valid event types:
IsRecordingInfo() as Boolean
True when the microphone is open.
GetInfo() as Object
roAssociativeArray containing the following information:
|format||string||the audio data format (ex. pcm-s16-le)|
|num_channels||integer||the number of channels (ex. 1 for mono)|
|sample_rate||integer||the audio sample rate (ex. |
|sample_data||roByteArray||signed 16-bit integer containing audio data as PCM (little-endian format)|
|level||integer||value displaying a calculated volume level between |
IsRecordingDone() as Boolean
Indicates that the microphone recording session has been closed.