ContentLauncherTrait.StyleInformationStruct

class ContentLauncherTrait.StyleInformationStruct


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

Summary

Public constructors

Creates the StyleInformationStruct class.

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 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.