BBShortsOptions

data class BBShortsOptions(val displayFormat: String? = null, val shelfStartSpacing: Int? = null, val shelfEndSpacing: Int? = null, val custom: Map<String, Any?>? = null)

Type-safe configuration options for BBNativeShorts.

Parameters

displayFormat

The display format: "full", "list", or "player".

shelfStartSpacing

Spacing at the start of the shorts list (pixels).

shelfEndSpacing

Spacing at the end of the shorts list (pixels).

custom

Escape hatch for custom or undocumented options.

See also

Constructors

Link copied to clipboard
constructor(displayFormat: String? = null, shelfStartSpacing: Int? = null, shelfEndSpacing: Int? = null, custom: Map<String, Any?>? = null)

Properties

Link copied to clipboard
val custom: Map<String, Any?>? = null

Escape hatch for custom or undocumented options.

Link copied to clipboard
val displayFormat: String? = null
Link copied to clipboard
val shelfEndSpacing: Int? = null
Link copied to clipboard
val shelfStartSpacing: Int? = null