Skip to content

Sound Recorder

Non-Visible component
Category Requires Version
Media API 21, Android 5.0 Lollipop 4

Overview

A non-visible component that records audio from the device''s microphone.

Permissions

Events

After Sound Recorded

Provides the location of the newly created sound.

Params
sound Text

Paused Recording

Indicates that the recorder has paused, and can be resumed again.

Resumed Recording

Indicates that the recorder has resumed, and can be started again.

Started Recording

Indicates that the recorder has started, and can be stopped.

Stopped Recording

Indicates that the recorder has stopped, and can be started again.

Methods

Pause

Use this block to pause the sound recorder. Works only on Android 6 and above.

Resume

Use this block to resume the sound recorder. Works only on Android 6 and above.

Start

Use this block to start the sound recorder.

Stop

Use this block to stop the sound recorder.

Properties

Saved Recording

Text ➖ Read Write - Designer Blocks

Specifies the path to the file where the recording should be stored. If this property is the empty string, then starting a recording will create a file in an appropriate location. If the property is not the empty string, it should specify a complete path to a file in an existing directory, including a file name with the extension .3gp.


Last update: November 9, 2022