public abstract class

AudioSettings.Builder

extends java.lang.Object

 java.lang.Object

↳androidx.camera.video.internal.audio.AudioSettings.Builder

Overview

A Builder for AudioSettings.

Summary

Methods
public final AudioSettingsbuild()

Returns the built config after performing settings validation.

public abstract AudioSettings.BuildersetAudioFormat(int audioFormat)

Sets the audio format.

public abstract AudioSettings.BuildersetAudioSource(int audioSource)

Sets the device audio source.

public abstract AudioSettings.BuildersetChannelCount(int channelCount)

Sets the channel count.

public abstract AudioSettings.BuildersetSampleRate(int sampleRate)

Sets the audio sample rate in Hertz.

from java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Methods

public abstract AudioSettings.Builder setAudioSource(int audioSource)

Sets the device audio source.

See also:

public abstract AudioSettings.Builder setSampleRate(int sampleRate)

Sets the audio sample rate in Hertz.

public abstract AudioSettings.Builder setChannelCount(int channelCount)

Sets the channel count.

public abstract AudioSettings.Builder setAudioFormat(int audioFormat)

Sets the audio format.

See also:

public final AudioSettings build()

Returns the built config after performing settings validation.