TransformationResult


@UnstableApi
class TransformationResult


Summary

Nested types

This class is deprecated.

Use ExportResult.Builder instead.

This class is deprecated.

Use ExportResult.ProcessedInput instead.

Public properties

String?

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

Int

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

Int

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

Int

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

ColorInfo?

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

Long

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

Long

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

Int

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

ImmutableList<TransformationResult.ProcessedInput!>!

The list of processed inputs.

Int

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

TransformationException?

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

String?

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

Int

The number of video frames.

Int

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

Public functions

equals

fun equals(o: Any?): Boolean

hashCode

fun hashCode(): Int

Public properties

audioEncoderName

val audioEncoderNameString?

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

averageAudioBitrate

val averageAudioBitrateInt

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

averageVideoBitrate

val averageVideoBitrateInt

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

channelCount

val channelCountInt

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

colorInfo

val colorInfoColorInfo?

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

durationMs

val durationMsLong

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

fileSizeBytes

val fileSizeBytesLong

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

height

val heightInt

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

sampleRate

val sampleRateInt

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

transformationException

val transformationExceptionTransformationException?

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

videoEncoderName

val videoEncoderNameString?

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

videoFrameCount

val videoFrameCountInt

The number of video frames.

width

val widthInt

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