Skip to content

AudioOptions

Adnan Elezović edited this page Sep 30, 2024 · 5 revisions



static builder()

Description

Creates a builder instance used to build a new instance of AudioOptions.

Arguments

  • none

Returns

Example

let audioOptionsBuilder = AudioOptions.builder();



audioFilter()

Description

Getter for the audioFilter field.

Arguments

  • none

Returns

  • AudioFilter - Value of the audioFilter field representing an instance implementing the AudioFilter interface.

Example

let audioOptions = AudioOptions.builder().setAudioFilter(createAudioFilterImplementation()).build();
let audioFilter = audioOptions.audioFilter;



audioQualityMode()

Description

Getter for the audioQualityMode field.

Arguments

  • none

Returns

  • AudioQualityMode - Enum value of the audioQualityMode field that represents how data consumption affects audio quality.

Example

let audioOptions = AudioOptions.builder().setAudioQualityMode(AudioQualityMode.LOW_DATA).build();
let audioQualityMode = audioOptions.audioQualityMode;

Tutorials

Migration guides

Reference documentation

Clone this wiki locally