All Downloads are FREE. Search and download functionalities are using the official Maven repository.

commonMain.aws.sdk.kotlin.services.mediaconvert.model.DashIsoVideoCompositionOffsets.kt Maven / Gradle / Ivy

// Code generated by smithy-kotlin-codegen. DO NOT EDIT!

package aws.sdk.kotlin.services.mediaconvert.model

import kotlin.collections.List

/**
 * Specify the video sample composition time offset mode in the output fMP4 TRUN box. For wider player compatibility, set Video composition offsets to Unsigned or leave blank. The earliest presentation time may be greater than zero, and sample composition time offsets will increment using unsigned integers. For strict fMP4 video and audio timing, set Video composition offsets to Signed. The earliest presentation time will be equal to zero, and sample composition time offsets will increment using signed integers.
 */
public sealed class DashIsoVideoCompositionOffsets {
    public abstract val value: kotlin.String

    public object Signed : aws.sdk.kotlin.services.mediaconvert.model.DashIsoVideoCompositionOffsets() {
        override val value: kotlin.String = "SIGNED"
        override fun toString(): kotlin.String = "Signed"
    }

    public object Unsigned : aws.sdk.kotlin.services.mediaconvert.model.DashIsoVideoCompositionOffsets() {
        override val value: kotlin.String = "UNSIGNED"
        override fun toString(): kotlin.String = "Unsigned"
    }

    public data class SdkUnknown(override val value: kotlin.String) : aws.sdk.kotlin.services.mediaconvert.model.DashIsoVideoCompositionOffsets() {
        override fun toString(): kotlin.String = "SdkUnknown($value)"
    }

    public companion object {
        /**
         * Convert a raw value to one of the sealed variants or [SdkUnknown]
         */
        public fun fromValue(value: kotlin.String): aws.sdk.kotlin.services.mediaconvert.model.DashIsoVideoCompositionOffsets = when (value) {
            "SIGNED" -> Signed
            "UNSIGNED" -> Unsigned
            else -> SdkUnknown(value)
        }

        /**
         * Get a list of all possible variants
         */
        public fun values(): kotlin.collections.List = values

        private val values: kotlin.collections.List = listOf(
            Signed,
            Unsigned,
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy