Recorder.Builder

public static final class Recorder.Builder
extends Object

java.lang.Object
   ↳ androidx.camera.video.Recorder.Builder


Builder class for Recorder objects.

Summary

Public constructors

Builder()

Constructor for Recorder.Builder.

Public methods

Recorder build()

Builds the Recorder instance.

Recorder.Builder setExecutor(Executor executor)

Sets the Executor that runs the Recorder background task.

Recorder.Builder setQualitySelector(QualitySelector qualitySelector)

Sets the QualitySelector of this Recorder.

Inherited methods

Public constructors

Builder

public Builder ()

Constructor for Recorder.Builder.

Creates a builder which is pre-populated with appropriate default configuration options.

Public methods

build

public Recorder build ()

Builds the Recorder instance.

The {code build()} method can be called multiple times, generating a new Recorder instance each time. The returned instance is configured with the options set on this builder.

Returns
Recorder