ExportResult.ProcessedInput


class ExportResult.ProcessedInput


An input entirely or partially processed.

Summary

Public constructors

ProcessedInput(
    mediaItem: MediaItem!,
    durationUs: Long,
    audioFormat: Format?,
    videoFormat: Format?,
    audioDecoderName: String?,
    videoDecoderName: String?
)

Creates an instance.

Public properties

String?

The name of the audio decoder used to process mediaItem.

Format?

The audio Format of the MediaItem.

Long

The duration of the MediaItem, in microseconds.

MediaItem!

The processed MediaItem.

String?

The name of the video decoder used to process mediaItem.

Format?

The video Format of the MediaItem.

Public constructors

ProcessedInput

ProcessedInput(
    mediaItem: MediaItem!,
    durationUs: Long,
    audioFormat: Format?,
    videoFormat: Format?,
    audioDecoderName: String?,
    videoDecoderName: String?
)

Creates an instance.

Public properties

audioDecoderName

val audioDecoderNameString?

The name of the audio decoder used to process mediaItem. This field is null if no audio decoder was used.

audioFormat

val audioFormatFormat?

The audio Format of the MediaItem.

durationUs

val durationUsLong

The duration of the MediaItem, in microseconds.

mediaItem

val mediaItemMediaItem!

The processed MediaItem.

videoDecoderName

val videoDecoderNameString?

The name of the video decoder used to process mediaItem. This field is null if no video decoder was used.

videoFormat

val videoFormatFormat?

The video Format of the MediaItem.