TransformationRequest


@UnstableApi
class TransformationRequest


A media transformation request.

Summary

Nested types

A builder for TransformationRequest instances.

Public functions

TransformationRequest.Builder!

Returns a new TransformationRequest.Builder initialized with the values of this instance.

Boolean
equals(o: Any?)
Int
String!

Public properties

String?

The requested output audio sample MIME type, or null if inferred from the input.

Int

The Composition.HdrMode specifying how to handle HDR input video.

Int

The requested height of the output video.

String?

The requested output video sample MIME type, or null if inferred from the input.

Public functions

buildUpon

fun buildUpon(): TransformationRequest.Builder!

Returns a new TransformationRequest.Builder initialized with the values of this instance.

equals

fun equals(o: Any?): Boolean

hashCode

fun hashCode(): Int

toString

fun toString(): String!

Public properties

audioMimeType

val audioMimeTypeString?

The requested output audio sample MIME type, or null if inferred from the input.

See also
setAudioMimeType

hdrMode

@Composition.HdrMode
val hdrModeInt

The Composition.HdrMode specifying how to handle HDR input video.

See also
setHdrMode

outputHeight

val outputHeightInt

The requested height of the output video.

This field is

videoMimeType

val videoMimeTypeString?

The requested output video sample MIME type, or null if inferred from the input.

See also
setVideoMimeType