GuidesAPI ReferenceRelease Notes
HomeLog InHome
Guides

BlazeExtraInfoKeyPreset - iOS

KeysPresets - Enum

This enum provides preset keys for commonly used extra info (metadata) fields, while still allowing
custom string keys to be used directly.

ValueRawValueDescription
gameId"gameId"Represents a game identifier.
teamId"teamId"Represents a team identifier.
playerId"playerId"Represents a player identifier.
roundId"roundId"Represents a round identifier.
seasonId"seasonId"Represents a season identifier.
isCurrentlyLive"isCurrentlyLive"Represents if a content is currently live.
activeLabels"activeLabels"Represents the active labels for the content.

Properties

key

var key: String

Returns the string key value directly for use in raw string operations.

This allows you to use the preset keys directly as strings when needed.

Example:

// Get the string value directly
let key = BlazeExtraInfoKeyPreset.playerId.key // "playerId"

// Use in raw string operations
visibilityCondition: .keyExists(BlazeExtraInfoKeyPreset.playerId.key)


Did this page help you?