api/internal/gamification/device/game_device_tier
library
Classes
-
DeviceTierConfig
-
gamification.deviceTier from the SDK config: how a device is placed in
high, mid or low. The defaults mirror the backend's
DEFAULT_DEVICE_TIER (`backend/src/services/digia-engage/sdk/
-
GameDeviceTier
-
Places a device in a tier from its facts:
[facts] plus
performanceScore (the weighted mean of the levels that are known and
weighted, or 0 when none are), then the first matching rule, else the
config's fallback. Port of Android GameDeviceTier.
-
TierCondition
-
One rule condition: fact compared with every operator in ops (all must
hold). Unknown facts, type mismatches and unknown operators are false.
-
TierRule
-
A tier and the conditions that select it;
any needs one true, all
needs every one.