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.
| Value | RawValue | Description |
|---|---|---|
| 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: StringReturns 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)Updated 4 months ago
Did this page help you?
