The Microphone component for Retool Mobile
A button to record audio.
Recordings are Base64-encoded in WebM format, and audio playback displays a progress bar and elapsed time.
Settings
Microphone includes the following configurable options when building apps in the IDE.
SizeShow on desktopShow on mobileMake file public on uploadMaintain space when hiddenMarginAlways show in edit modeStylesUpload file to Retool StorageWidth |
Properties
All properties for Microphone with supported data types or values. You can write JavaScript almost anywhere in Retool to manipulate or read property values.
buttonSize
The size of the button.
file
Details about the selected file.
global
Whether the object is globally scoped for use in all app pages.
Whether the component is visible.
id
The unique identifier.
isHiddenOnDesktop
Whether the component is visible in the desktop layout.
isHiddenOnMobile
Whether the component is visible in the mobile layout.
isRecording
maintainSpaceWhenHidden
Whether the component takes up space on the canvas if hidden
is true
.
pluginType
The plugin type.
showInEditor
Whether to remain visible in the editor if hidden
is true
.
startLabel
stopLabel
The label for the Stop button.
uploadToRetoolStorage
Whether to upload a file to Retool Storage.
Events
Events are triggered by user interactions, such as clicking a button or entering a value. Use event handlers to trigger queries or other actions in response to events.
change
The value is changed.