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.
| Value | RawValue | Description |
|---|---|---|
| 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: 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
let key = BlazeExtraInfoKeyPreset.playerId.key // "playerId"
// Use in raw string operations
visibilityCondition: .keyExists(BlazeExtraInfoKeyPreset.playerId.key)Updated 4 months ago
Did this page help you?
