commonMain.aws.sdk.kotlin.services.mediaconvert.model.DvbddsHandling.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of mediaconvert Show documentation
Show all versions of mediaconvert Show documentation
The AWS SDK for Kotlin client for MediaConvert
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.mediaconvert.model
import kotlin.collections.List
/**
* Specify how MediaConvert handles the display definition segment (DDS). Keep the default, None (NONE), to exclude the DDS from this set of captions. Choose No display window (NO_DISPLAY_WINDOW) to have MediaConvert include the DDS but not include display window data. In this case, MediaConvert writes that information to the page composition segment (PCS) instead. Choose Specify (SPECIFIED) to have MediaConvert set up the display window based on the values that you specify in related job settings. For video resolutions that are 576 pixels or smaller in height, MediaConvert doesn't include the DDS, regardless of the value you choose for DDS handling (ddsHandling). In this case, it doesn't write the display window data to the PCS either. Related settings: Use the settings DDS x-coordinate (ddsXCoordinate) and DDS y-coordinate (ddsYCoordinate) to specify the offset between the top left corner of the display window and the top left corner of the video frame. All burn-in and DVB-Sub font settings must match.
*/
public sealed class DvbddsHandling {
public abstract val value: kotlin.String
public object None : aws.sdk.kotlin.services.mediaconvert.model.DvbddsHandling() {
override val value: kotlin.String = "NONE"
override fun toString(): kotlin.String = value
}
public object NoDisplayWindow : aws.sdk.kotlin.services.mediaconvert.model.DvbddsHandling() {
override val value: kotlin.String = "NO_DISPLAY_WINDOW"
override fun toString(): kotlin.String = value
}
public object Specified : aws.sdk.kotlin.services.mediaconvert.model.DvbddsHandling() {
override val value: kotlin.String = "SPECIFIED"
override fun toString(): kotlin.String = value
}
public data class SdkUnknown(override val value: kotlin.String) : aws.sdk.kotlin.services.mediaconvert.model.DvbddsHandling() {
override fun toString(): kotlin.String = value
}
public companion object {
/**
* Convert a raw value to one of the sealed variants or [SdkUnknown]
*/
public fun fromValue(str: kotlin.String): aws.sdk.kotlin.services.mediaconvert.model.DvbddsHandling = when(str) {
"NONE" -> None
"NO_DISPLAY_WINDOW" -> NoDisplayWindow
"SPECIFIED" -> Specified
else -> SdkUnknown(str)
}
/**
* Get a list of all possible variants
*/
public fun values(): kotlin.collections.List = listOf(
None,
NoDisplayWindow,
Specified
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy