api/internal/gamification/device/game_device_channel library
Dart side of the gamification device channel.
The skin never talks to the platform directly: GameDeviceInfo.collect,
GameHaptics.platform and PlatformGameMotionSource all go through the
existing plugin channel digia_engage/debug_deeplink (methods
gameDeviceFacts, gameHaptic, gameMotionStart, gameMotionStop) and
the motion EventChannel digia_engage/game_motion.
This file only names the contract so the three call sites and the two
native plugin implementations (DigiaEnginePlugin.kt / .swift) stay in
sync. No sensors_plus or device_info_plus: the tier formula is the
native one, ported in game_bridge_protocol.dart (computeGameTier).
Constants
- gameDeviceFactsMethod → const String
- Plugin methods backing the device facts, haptics and motion stream.
- gameHapticMethod → const String
- gameMotionEventChannel → const String
-
Event channel streaming motion samples as
{sensor, x, y, z, t}(SI units,tms monotonic). - gameMotionStartMethod → const String
- gameMotionStopMethod → const String
- gamePluginChannel → const String
- Method channel shared with the debug-deeplink plugin.