docs/doc/reference/com/google/android/exoplayer2/transformer/TransformationResult.Builder.html
Package com.google.android.exoplayer2.transformer
Enclosing class:TransformationResult
[@Deprecated](https://developer.android.com/reference/java/lang/Deprecated.html "class or interface in java.lang")public static final classTransformationResult.Builderextends[Object](https://developer.android.com/reference/java/lang/Object.html "class or interface in java.lang")
Deprecated.
Use ExportResult.Builder instead.
Constructors | Constructor | Description |
| --- | --- |
| Builder() |
Deprecated.
Creates a builder. |
All Methods Instance Methods Concrete Methods Deprecated Methods | Modifier and Type | Method | Description |
| --- | --- | --- |
| TransformationResult | build() |
Deprecated.
Builds a TransformationResult instance.
|
| TransformationResult.Builder | setAudioEncoderName(String audioEncoderName) |
Deprecated.
Sets the name of the audio encoder used.
|
| TransformationResult.Builder | setAverageAudioBitrate(int averageAudioBitrate) |
Deprecated.
Sets the average audio bitrate.
|
| TransformationResult.Builder | setAverageVideoBitrate(int averageVideoBitrate) |
Deprecated.
Sets the average video bitrate.
|
| TransformationResult.Builder | setChannelCount(int channelCount) |
Deprecated.
Sets the channel count.
|
| TransformationResult.Builder | setColorInfo(ColorInfo colorInfo) |
Deprecated.
Sets the ColorInfo.
|
| TransformationResult.Builder | setDurationMs(long durationMs) |
Deprecated.
Sets the duration of the output in milliseconds.
|
| TransformationResult.Builder | setFileSizeBytes(long fileSizeBytes) |
Deprecated.
Sets the file size in bytes.
|
| TransformationResult.Builder | setHeight(int height) |
Deprecated.
Sets the height.
|
| TransformationResult.Builder | setProcessedInputs(ImmutableList<TransformationResult.ProcessedInput> processedInputs) |
Deprecated.
Sets the processed inputs.
|
| TransformationResult.Builder | setSampleRate(int sampleRate) |
Deprecated.
Sets the sample rate.
|
| TransformationResult.Builder | setTransformationException(TransformationException transformationException) |
Deprecated.
Sets the TransformationException that caused the transformation to fail.
|
| TransformationResult.Builder | setVideoEncoderName(String videoEncoderName) |
Deprecated.
Sets the name of the video encoder used.
|
| TransformationResult.Builder | setVideoFrameCount(int videoFrameCount) |
Deprecated.
Sets the number of video frames.
|
| TransformationResult.Builder | setWidth(int width) |
Deprecated.
Sets the width. |
-
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
public Builder()
Deprecated.
Creates a builder.
-
@CanIgnoreReturnValue
public[TransformationResult.Builder](TransformationResult.Builder.html "class in com.google.android.exoplayer2.transformer")setProcessedInputs([ImmutableList](https://guava.dev/releases/31.1-android/api/docs/com/google/common/collect/ImmutableList.html?is-external=true "class or interface in com.google.common.collect")<[TransformationResult.ProcessedInput](TransformationResult.ProcessedInput.html "class in com.google.android.exoplayer2.transformer")> processedInputs)
Deprecated.
Sets the processed inputs.
-
@CanIgnoreReturnValue
public[TransformationResult.Builder](TransformationResult.Builder.html "class in com.google.android.exoplayer2.transformer")setDurationMs(long durationMs)
Deprecated.
Sets the duration of the output in milliseconds.
Must be positive or C.TIME_UNSET.
-
@CanIgnoreReturnValue
public[TransformationResult.Builder](TransformationResult.Builder.html "class in com.google.android.exoplayer2.transformer")setFileSizeBytes(long fileSizeBytes)
Deprecated.
Sets the file size in bytes.
Must be positive or C.LENGTH_UNSET.
-
@CanIgnoreReturnValue
public[TransformationResult.Builder](TransformationResult.Builder.html "class in com.google.android.exoplayer2.transformer")setAverageAudioBitrate(int averageAudioBitrate)
Deprecated.
Sets the average audio bitrate.
Must be positive or C.RATE_UNSET_INT.
-
@CanIgnoreReturnValue
public[TransformationResult.Builder](TransformationResult.Builder.html "class in com.google.android.exoplayer2.transformer")setChannelCount(int channelCount)
Deprecated.
Sets the channel count.
Must be positive or C.LENGTH_UNSET.
-
@CanIgnoreReturnValue
public[TransformationResult.Builder](TransformationResult.Builder.html "class in com.google.android.exoplayer2.transformer")setSampleRate(int sampleRate)
Deprecated.
Sets the sample rate.
Must be positive or C.RATE_UNSET_INT.
-
@CanIgnoreReturnValue
public[TransformationResult.Builder](TransformationResult.Builder.html "class in com.google.android.exoplayer2.transformer")setAudioEncoderName(@Nullable[String](https://developer.android.com/reference/java/lang/String.html "class or interface in java.lang")audioEncoderName)
Deprecated.
Sets the name of the audio encoder used.
-
@CanIgnoreReturnValue
public[TransformationResult.Builder](TransformationResult.Builder.html "class in com.google.android.exoplayer2.transformer")setAverageVideoBitrate(int averageVideoBitrate)
Deprecated.
Sets the average video bitrate.
Must be positive or C.RATE_UNSET_INT.
-
@CanIgnoreReturnValue
public[TransformationResult.Builder](TransformationResult.Builder.html "class in com.google.android.exoplayer2.transformer")setColorInfo(@Nullable[ColorInfo](../video/ColorInfo.html "class in com.google.android.exoplayer2.video")colorInfo)
Deprecated.
Sets the ColorInfo.
-
@CanIgnoreReturnValue
public[TransformationResult.Builder](TransformationResult.Builder.html "class in com.google.android.exoplayer2.transformer")setHeight(int height)
Deprecated.
Sets the height.
Must be positive or C.LENGTH_UNSET.
-
@CanIgnoreReturnValue
public[TransformationResult.Builder](TransformationResult.Builder.html "class in com.google.android.exoplayer2.transformer")setWidth(int width)
Deprecated.
Sets the width.
Must be positive or C.LENGTH_UNSET.
-
@CanIgnoreReturnValue
public[TransformationResult.Builder](TransformationResult.Builder.html "class in com.google.android.exoplayer2.transformer")setVideoFrameCount(int videoFrameCount)
Deprecated.
Sets the number of video frames.
Must be positive or 0.
-
@CanIgnoreReturnValue
public[TransformationResult.Builder](TransformationResult.Builder.html "class in com.google.android.exoplayer2.transformer")setVideoEncoderName(@Nullable[String](https://developer.android.com/reference/java/lang/String.html "class or interface in java.lang")videoEncoderName)
Deprecated.
Sets the name of the video encoder used.
-
@CanIgnoreReturnValue
public[TransformationResult.Builder](TransformationResult.Builder.html "class in com.google.android.exoplayer2.transformer")setTransformationException(@Nullable[TransformationException](TransformationException.html "class in com.google.android.exoplayer2.transformer")transformationException)
Deprecated.
Sets the TransformationException that caused the transformation to fail.
-
public[TransformationResult](TransformationResult.html "class in com.google.android.exoplayer2.transformer")build()
Deprecated.
Builds a TransformationResult instance.