TransformationRequest
@UnstableApi
class TransformationRequest
A media transformation request.
Summary
Nested types |
|---|
|
A builder for |
Public functions |
|
|---|---|
TransformationRequest.Builder! |
Returns a new |
Boolean |
|
Int |
hashCode() |
String! |
toString() |
Public properties |
|
|---|---|
String? |
The requested output audio sample |
Int |
The |
Int |
The requested height of the output video. |
String? |
The requested output video sample |
Public functions
buildUpon
fun buildUpon(): TransformationRequest.Builder!
Returns a new TransformationRequest.Builder initialized with the values of this instance.
Public properties
audioMimeType
val audioMimeType: String?
The requested output audio sample MIME type, or null if inferred from the input.
| See also | |
|---|---|
setAudioMimeType |
hdrMode
@Composition.HdrMode
val hdrMode: Int
The Composition.HdrMode specifying how to handle HDR input video.
| See also | |
|---|---|
setHdrMode |
outputHeight
val outputHeight: Int
The requested height of the output video.
This field is
- Always set to
LENGTH_UNSETin theoriginalTransformationRequestparameter ofonFallbackApplied. - Set to
LENGTH_UNSETin thefallbackTransformationRequestparameter ofonFallbackAppliedto indicate that it is inferred from the input.
videoMimeType
val videoMimeType: String?
The requested output video sample MIME type, or null if inferred from the input.
| See also | |
|---|---|
setVideoMimeType |