DeviceTierConfig class
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/
Constructors
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
parse(
Object? json) → DeviceTierConfig -
The config, or defaults when
jsonis missing or malformed anywhere: a bad value falls back whole, never half-applies, and never throws. An operator this SDK does not know is kept and evaluates false, so a newer rule never matches on an older SDK. Port of AndroidDeviceTierConfig.parse.
Constants
- defaults → const DeviceTierConfig
- The backend defaults, the source of truth when the backend sent nothing.
-
tiers
→ const Set<
String> - Tier names the backend and the prewarm gate understand.