Package ai.synheart.session
See: Description
-
Class Summary Class Description BehaviorSnapshot A point-in-time snapshot of behavioral signals. BehaviorSdkProvider Wraps SynheartBehavior.getCurrentStats()from synheart-behavior-kotlin into the BehaviorProvider interface expected by SessionEngine.BiosignalSample A single biosignal sample from any heart-rate source. HealthConnectBiosignalProvider Biosignal provider that wraps a HealthConnectAdapterfrom synheart-wear.MockBehaviorProvider Mock behavior provider that returns stable mid-range values for testing. MockBiosignalProvider Mock biosignal provider that generates sinusoidal HR data at 1 Hz. SampleRingBuffer Thread-safe sliding window of BiosignalSample values. SessionEngine Timer-driven session engine. PermissionDenied SensorUnavailable InvalidState LowBattery OsTerminated SessionError Session error sealed class following the EmotionError pattern. ComputeProfile Compute profile controlling session frame emission timing. SessionConfig Session configuration. WearBiosignalProvider Biosignal provider that wraps a BleHrmProviderfrom synheart-wear. -
Interface Summary Interface Description BehaviorProvider Abstraction over any behavioral signal source (mock, synheart-behavior SDK). BiosignalProvider Abstraction over any heart-rate data source (mock, BLE HRM, HealthKit, Health Connect). -
Enum Summary Enum Description SessionMode Session mode matching the wire protocol values. SessionErrorCode Error codes matching the wire protocol values.