Class TransformationResult.Builder
- java.lang.Object
 - 
- com.google.android.exoplayer2.transformer.TransformationResult.Builder
 
 
- 
- Enclosing class:
 - TransformationResult
 
@Deprecated public static final class TransformationResult.Builder extends Object
Deprecated.UseExportResult.Builderinstead. 
- 
- 
Constructor Summary
Constructors Constructor Description Builder()Deprecated.Creates a builder. 
- 
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description TransformationResultbuild()Deprecated.Builds aTransformationResultinstance.TransformationResult.BuildersetAudioEncoderName(String audioEncoderName)Deprecated.Sets the name of the audio encoder used.TransformationResult.BuildersetAverageAudioBitrate(int averageAudioBitrate)Deprecated.Sets the average audio bitrate.TransformationResult.BuildersetAverageVideoBitrate(int averageVideoBitrate)Deprecated.Sets the average video bitrate.TransformationResult.BuildersetChannelCount(int channelCount)Deprecated.Sets the channel count.TransformationResult.BuildersetColorInfo(ColorInfo colorInfo)Deprecated.Sets theColorInfo.TransformationResult.BuildersetDurationMs(long durationMs)Deprecated.Sets the duration of the output in milliseconds.TransformationResult.BuildersetFileSizeBytes(long fileSizeBytes)Deprecated.Sets the file size in bytes.TransformationResult.BuildersetHeight(int height)Deprecated.Sets the height.TransformationResult.BuildersetProcessedInputs(ImmutableList<TransformationResult.ProcessedInput> processedInputs)Deprecated.Sets the processed inputs.TransformationResult.BuildersetSampleRate(int sampleRate)Deprecated.Sets the sample rate.TransformationResult.BuildersetTransformationException(TransformationException transformationException)Deprecated.Sets theTransformationExceptionthat caused the transformation to fail.TransformationResult.BuildersetVideoEncoderName(String videoEncoderName)Deprecated.Sets the name of the video encoder used.TransformationResult.BuildersetVideoFrameCount(int videoFrameCount)Deprecated.Sets the number of video frames.TransformationResult.BuildersetWidth(int width)Deprecated.Sets the width. 
 - 
 
- 
- 
Method Detail
- 
setProcessedInputs
@CanIgnoreReturnValue public TransformationResult.Builder setProcessedInputs(ImmutableList<TransformationResult.ProcessedInput> processedInputs)
Deprecated.Sets the processed inputs. 
- 
setDurationMs
@CanIgnoreReturnValue public TransformationResult.Builder setDurationMs(long durationMs)
Deprecated.Sets the duration of the output in milliseconds.Must be positive or
C.TIME_UNSET. 
- 
setFileSizeBytes
@CanIgnoreReturnValue public TransformationResult.Builder setFileSizeBytes(long fileSizeBytes)
Deprecated.Sets the file size in bytes.Must be positive or
C.LENGTH_UNSET. 
- 
setAverageAudioBitrate
@CanIgnoreReturnValue public TransformationResult.Builder setAverageAudioBitrate(int averageAudioBitrate)
Deprecated.Sets the average audio bitrate.Must be positive or
C.RATE_UNSET_INT. 
- 
setChannelCount
@CanIgnoreReturnValue public TransformationResult.Builder setChannelCount(int channelCount)
Deprecated.Sets the channel count.Must be positive or
C.LENGTH_UNSET. 
- 
setSampleRate
@CanIgnoreReturnValue public TransformationResult.Builder setSampleRate(int sampleRate)
Deprecated.Sets the sample rate.Must be positive or
C.RATE_UNSET_INT. 
- 
setAudioEncoderName
@CanIgnoreReturnValue public TransformationResult.Builder setAudioEncoderName(@Nullable String audioEncoderName)
Deprecated.Sets the name of the audio encoder used. 
- 
setAverageVideoBitrate
@CanIgnoreReturnValue public TransformationResult.Builder setAverageVideoBitrate(int averageVideoBitrate)
Deprecated.Sets the average video bitrate.Must be positive or
C.RATE_UNSET_INT. 
- 
setColorInfo
@CanIgnoreReturnValue public TransformationResult.Builder setColorInfo(@Nullable ColorInfo colorInfo)
Deprecated.Sets theColorInfo. 
- 
setHeight
@CanIgnoreReturnValue public TransformationResult.Builder setHeight(int height)
Deprecated.Sets the height.Must be positive or
C.LENGTH_UNSET. 
- 
setWidth
@CanIgnoreReturnValue public TransformationResult.Builder setWidth(int width)
Deprecated.Sets the width.Must be positive or
C.LENGTH_UNSET. 
- 
setVideoFrameCount
@CanIgnoreReturnValue public TransformationResult.Builder setVideoFrameCount(int videoFrameCount)
Deprecated.Sets the number of video frames.Must be positive or
0. 
- 
setVideoEncoderName
@CanIgnoreReturnValue public TransformationResult.Builder setVideoEncoderName(@Nullable String videoEncoderName)
Deprecated.Sets the name of the video encoder used. 
- 
setTransformationException
@CanIgnoreReturnValue public TransformationResult.Builder setTransformationException(@Nullable TransformationException transformationException)
Deprecated.Sets theTransformationExceptionthat caused the transformation to fail. 
- 
build
public TransformationResult build()
Deprecated.Builds aTransformationResultinstance. 
 - 
 
 -