DemoOptions.Builder

🚀

SDK Beta

This API is a part of the Beta program.

The DemoOptions.Builder model is responsible for building demo options. It creates a new builder and a DemoOptions instance. It also enables and disables spatial audio in demo conferences.

Constructors

Builder

Builder()

Creates a new builder.

Methods

build

build(): DemoOptions

Constructs the DemoOptions instance.

Returns: @NonNull DemoOptions - The DemoOptions instance.


setSpatialAudio

setSpatialAudio(@NonNull spatialAudio: boolean): DemoOptions.Builder

Enables and disables spatial audio.

Parameters

NameTypeDescription
spatialAudiobooleannon nullA flag indicating if spatial audio should be enabled.

Returns: DemoOptions.Builder - The builder instance.


Did this page help you?