Toloka documentation


toloka.client.project.template_builder.fields.AudioFieldV1 | Source code

    data: Optional[BaseComponent] = None,
    multiple: Optional[Any] = None,
    hint: Optional[Any] = None,
    label: Optional[Any] = None,
    validation: Optional[BaseComponent] = None,
    version: Optional[str] = '1.0.0'

Component for recording audio.

Works in the mobile app. In a browser, this component opens a window for uploading an audio file.

Parameters Description

Parameters Type Description
data Optional[BaseComponent]

Data with values that will be processed or changed.

multiple Optional[Any]

Determines whether multiple audio files can be recorded (or uploaded): False (default) — forbidden. True — allowed.

hint Optional[Any]

Hint text.

label Optional[Any]

Label above the component.

validation Optional[BaseComponent]

Validation based on condition.