TlvStyleInformation: ObjectSchema<{
    color: OptionalFieldType<string>;
    imageUrl: OptionalFieldType<string>;
    size: OptionalFieldType<TypeFromFields<{
        height: FieldType<number>;
        metric: FieldType<ContentLauncher.MetricType>;
        width: FieldType<number>;
    }>>;
}> = ...

This object defines style information which can be used by content providers to change the Media Player’s style related properties.

Type declaration

  • color: OptionalFieldType<string>

    This field shall indicate the color, in RGB or RGBA, used for styling different Video Player sections like Logo, Watermark, etc. The value shall conform to the 6-digit or 8-digit format defined for CSS sRGB hexadecimal color notation [https://www.w3.org/TR/css-color-4/#hex-notation]. Examples:

    • #76DE19 for R=0x76, G=0xDE, B=0x19, A absent

    • #76DE1980 for R=0x76, G=0xDE, B=0x19, A=0x80

    MatterSpecification.v13.Cluster § 6.7.5.9.2

  • imageUrl: OptionalFieldType<string>

    This field shall indicate the URL of image used for Styling different Video Player sections like Logo, Watermark etc.

    MatterSpecification.v13.Cluster § 6.7.5.9.1

  • size: OptionalFieldType<TypeFromFields<{
        height: FieldType<number>;
        metric: FieldType<ContentLauncher.MetricType>;
        width: FieldType<number>;
    }>>

    This field shall indicate the size of the image used for Styling different Video Player sections like Logo, Watermark etc.

    MatterSpecification.v13.Cluster § 6.7.5.9.3

MatterSpecification.v13.Cluster § 6.7.5.9