Skip to content

Sound Recorder

Non-Visible component
Category Requires Version
Media API 19, Android 4.4 - 4.4.4 KitKat 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: July 15, 2021