commonMain.aws.sdk.kotlin.services.mediaconvert.model.DvbSubtitleTeletextSpacing.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 whether the Text spacing (TeletextSpacing) in your captions is set by the captions grid, or varies depending on letter width. Choose fixed grid (FIXED_GRID) to conform to the spacing specified in the captions file more accurately. Choose proportional (PROPORTIONAL) to make the text easier to read for closed captions. Within your job settings, all of your DVB-Sub settings must be identical.
*/
public sealed class DvbSubtitleTeletextSpacing {
public abstract val value: kotlin.String
public object Auto : aws.sdk.kotlin.services.mediaconvert.model.DvbSubtitleTeletextSpacing() {
override val value: kotlin.String = "AUTO"
override fun toString(): kotlin.String = value
}
public object FixedGrid : aws.sdk.kotlin.services.mediaconvert.model.DvbSubtitleTeletextSpacing() {
override val value: kotlin.String = "FIXED_GRID"
override fun toString(): kotlin.String = value
}
public object Proportional : aws.sdk.kotlin.services.mediaconvert.model.DvbSubtitleTeletextSpacing() {
override val value: kotlin.String = "PROPORTIONAL"
override fun toString(): kotlin.String = value
}
public data class SdkUnknown(override val value: kotlin.String) : aws.sdk.kotlin.services.mediaconvert.model.DvbSubtitleTeletextSpacing() {
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.DvbSubtitleTeletextSpacing = when(str) {
"AUTO" -> Auto
"FIXED_GRID" -> FixedGrid
"PROPORTIONAL" -> Proportional
else -> SdkUnknown(str)
}
/**
* Get a list of all possible variants
*/
public fun values(): kotlin.collections.List = listOf(
Auto,
FixedGrid,
Proportional
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy