ContentLauncherTrait.StyleInformationStruct

class ContentLauncherTrait.StyleInformationStruct : ClusterStruct


Style information which can be used to change the media player's visual style.

Summary

Public constructors

Creates the StyleInformationStruct class.

Public functions

open StructDescriptor

Returns the descriptor for the struct.

open Any?

Returns the value of the field for the given tag ID.

Public properties

OptionalValue<String>

The color used for styling the video player.

OptionalValue<String>

The URL of the image used for styling the video player.

OptionalValue<ContentLauncherTrait.DimensionStruct>

The size of the image used for styling various video player areas such as the logo, watermark, and so forth.

Public constructors

StyleInformationStruct

StyleInformationStruct(
    imageUrl: OptionalValue<String> = OptionalValue.absent(),
    color: OptionalValue<String> = OptionalValue.absent(),
    size: OptionalValue<ContentLauncherTrait.DimensionStruct> = OptionalValue.absent()
)

Creates the StyleInformationStruct class.

Public functions

getDescriptor

open fun getDescriptor(): StructDescriptor

Returns the descriptor for the struct.

getFieldValueById

open fun getFieldValueById(tagId: UInt): Any?

Returns the value of the field for the given tag ID.

Public properties

color

val colorOptionalValue<String>

The color used for styling the video player.

imageUrl

val imageUrlOptionalValue<String>

The URL of the image used for styling the video player.

size

val sizeOptionalValue<ContentLauncherTrait.DimensionStruct>

The size of the image used for styling various video player areas such as the logo, watermark, and so forth.