struct BrandingInformationStruct
Branding information that customizes the video player skin.
-
The name of the content provider.
Declaration
Swift
let providerName: String
-
Background of the video player while it is processing a content launch request.
Declaration
Swift
let background: Matter.ContentLauncherTrait.StyleInformationStruct?
-
The logo shown when the video player is launching, and when it is idle and the
splash
field isn’t defined.Declaration
Swift
let logo: Matter.ContentLauncherTrait.StyleInformationStruct?
-
The style of progress bar for media playback.
Declaration
Swift
let progressBar: Matter.ContentLauncherTrait.StyleInformationStruct?
-
The screen shown when the video player is in an idle state.
Declaration
Swift
let splash: Matter.ContentLauncherTrait.StyleInformationStruct?
-
The watermark shown when the media is playing.
Declaration
Swift
let waterMark: Matter.ContentLauncherTrait.StyleInformationStruct?
-
Creates a new Struct instance using data read from the given
TraitDecoder
.Throws
HomeError.parseError
when parsing fails.Declaration
Swift
init(decoder: TraitDecoder) throws
Parameters
decoder
The raw data representing this Struct.
-
Writes this Struct to the given
TraitEncoder
. ThrowsHomeError.parseError
if the data could not be encoded.Declaration
Swift
func encode(with encoder: TraitEncoder) throws
-
Returns the field corresponding to the given field ID.
Declaration
Swift
static func structField(id: UInt32) -> (any Field)?