GuidesAPI ReferenceRelease Notes
HomeLog InHome
Guides

BlazeExtraInfoKeyPreset - Android

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
GAME_ID"gameId"Represents a game identifier.
TEAM_ID"teamId"Represents a team identifier.
PLAYER_ID"playerId"Represents a player identifier.
ROUND_ID"roundId"Represents a round identifier.
SEASON_ID"seasonId"Represents a season identifier.
IS_CURRENTLY_LIVE"isCurrentlyLive"Represents if a content is currently live.
ACTIVE_LABELS"activeLabels"Represents the active labels for the content.

Properties

key

val 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
val key = BlazeExtraInfoKeyPreset.PLAYER_ID.key // "playerId"

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


Did this page help you?