BreakVariant
A break variant (format + ordered assets). The portable brain reads format/rawFormat/targeting/assets (variant selection — see selectVariantDetailed); the overlay layout fields (position/size/opacity) are resolved by the platform renderer and are populated only for BreakFormat.OVERLAY variants (null otherwise). Companion remains out of the portable model.
Constructors
Properties
The layout this variant renders in; see rawFormat for the uncollapsed manifest string.
Overlay opacity 0.0-1.0; null defaults to fully opaque (BreakFormat.OVERLAY only).
Overlay placement within the player surface (BreakFormat.OVERLAY only).
The UNCOLLAPSED manifest format string. BreakFormat.from maps an unknown format to BreakFormat.SINGLE (forward-compatible parsing), but variant selection must treat an unknown format as NEVER playable — so the raw value survives here. Defaults to the enum's value.
Overlay size within the player surface (BreakFormat.OVERLAY only).
Variant-level targeting (manifest spec): a variant without a targeted deviceType is a default. Targeting.deviceType stays a raw string so an unrecognised value is targeted-but-unmatched (see Targeting).