Skip to main content

BBPlayerOptions

struct BBPlayerOptions: @unchecked Sendable

Type-safe configuration options for BBNativePlayer and BBNativeRenderer.

Replaces the untyped [String: Any]? options dictionary with compile-time checked properties. Use custom as an escape hatch for any options not yet covered by typed properties.

Properties

adTagUrlParams

var adTagUrlParams: [String: String]?

Custom parameters to add to ad tag URLs. Keys should NOT include the "adTagUrlParam_" prefix.

custom

var custom: [String: Any]?

Escape hatch for custom or undocumented options. Typed properties take precedence.