public static class AudioFormatDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
AudioFormatDetails |
build() |
AudioFormatDetails.Builder |
copy(AudioFormatDetails model) |
AudioFormatDetails.Builder |
encoding(String encoding)
Input file encoding.
|
AudioFormatDetails.Builder |
format(String format)
Input file format.
|
AudioFormatDetails.Builder |
numberOfChannels(Integer numberOfChannels)
Input file number of channels.
|
AudioFormatDetails.Builder |
sampleRateInHz(Integer sampleRateInHz)
Input file sampleRate.
|
public AudioFormatDetails.Builder format(String format)
Input file format. Example - WAV.
format
- the value to setpublic AudioFormatDetails.Builder numberOfChannels(Integer numberOfChannels)
Input file number of channels.
numberOfChannels
- the value to setpublic AudioFormatDetails.Builder encoding(String encoding)
Input file encoding. Example - PCM.
encoding
- the value to setpublic AudioFormatDetails.Builder sampleRateInHz(Integer sampleRateInHz)
Input file sampleRate. Example - 16000
sampleRateInHz
- the value to setpublic AudioFormatDetails build()
public AudioFormatDetails.Builder copy(AudioFormatDetails model)
Copyright © 2016–2024. All rights reserved.