Skip to main content

BBShortsOptions

class BBShortsOptions(
val displayFormat: String? = null,
val shelfStartSpacing: Int? = null,
val shelfEndSpacing: Int? = null,
/** Escape hatch for custom or undocumented options. */
val custom: Map<String, Any?>? = null,
)

Type-safe configuration options for [BBNativeShorts].

Parameters

NameDescription
displayFormatThe display format: "full", "list", or "player".
shelfStartSpacingSpacing at the start of the shorts list (pixels).
shelfEndSpacingSpacing at the end of the shorts list (pixels).
customEscape hatch for custom or undocumented options.

See also:

  • BBNativeShorts

Properties

custom

val custom: Map<String, Any?>?

Escape hatch for custom or undocumented options.