TransformationResult


@UnstableApi
public final class TransformationResult


Summary

Nested types

public final class TransformationResult.Builder

This class is deprecated.

Use ExportResult.Builder instead.

This class is deprecated.

Use ExportResult.ProcessedInput instead.

Public fields

final @Nullable String

The name of the audio encoder used, or null if none were used.

final int

The average bitrate of the audio track data, or RATE_UNSET_INT if unset or unknown.

final int

The average bitrate of the video track data, or RATE_UNSET_INT if unset or unknown.

final int

The channel count of the audio, or LENGTH_UNSET if unset or unknown.

final @Nullable ColorInfo

The ColorInfo of the video, or null if unset or unknown.

final long

The duration of the file in milliseconds, or TIME_UNSET if unset or unknown.

final long

The size of the file in bytes, or LENGTH_UNSET if unset or unknown.

final int

The height of the video, or LENGTH_UNSET if unset or unknown.

final ImmutableList<TransformationResult.ProcessedInput>

The list of processed inputs.

final int

The sample rate of the audio, or RATE_UNSET_INT if unset or unknown.

final @Nullable TransformationException

The TransformationException that caused the transformation to fail, or null if the transformation was a success.

final @Nullable String

The name of the video encoder used, or null if none were used.

final int

The number of video frames.

final int

The width of the video, or LENGTH_UNSET if unset or unknown.

Public fields

audioEncoderName

public final @Nullable String audioEncoderName

The name of the audio encoder used, or null if none were used.

averageAudioBitrate

public final int averageAudioBitrate

The average bitrate of the audio track data, or RATE_UNSET_INT if unset or unknown.

averageVideoBitrate

public final int averageVideoBitrate

The average bitrate of the video track data, or RATE_UNSET_INT if unset or unknown.

channelCount

public final int channelCount

The channel count of the audio, or LENGTH_UNSET if unset or unknown.

colorInfo

public final @Nullable ColorInfo colorInfo

The ColorInfo of the video, or null if unset or unknown.

durationMs

public final long durationMs

The duration of the file in milliseconds, or TIME_UNSET if unset or unknown.

fileSizeBytes

public final long fileSizeBytes

The size of the file in bytes, or LENGTH_UNSET if unset or unknown.

height

public final int height

The height of the video, or LENGTH_UNSET if unset or unknown.

sampleRate

public final int sampleRate

The sample rate of the audio, or RATE_UNSET_INT if unset or unknown.

transformationException

public final @Nullable TransformationException transformationException

The TransformationException that caused the transformation to fail, or null if the transformation was a success.

videoEncoderName

public final @Nullable String videoEncoderName

The name of the video encoder used, or null if none were used.

videoFrameCount

public final int videoFrameCount

The number of video frames.

width

public final int width

The width of the video, or LENGTH_UNSET if unset or unknown.

Public methods

equals

public boolean equals(@Nullable Object o)

hashCode

public int hashCode()