What is Synheart Behavior?
Synheart Behavior is a multi-platform SDK that collects behavioral events from digital interactions (scroll, tap, swipe, typing timing, app switches, notifications, calls) directly on device and streams them to your app. Events are content-free: timing and physical metadata only. The SDKs are event producers. They report events and raw per-session counts; focus, distraction and typing scores are computed downstream by the Synheart runtime when behavior is fed through Synheart Core.Key Features
On-Device Collection
- Events are captured and summarized locally
- No network calls
- No raw interaction data leaves the device unless your app sends it
Privacy-First Design
- No PII: No names, contacts, or user-identifying data
- No content capture: No text, images, or semantic data
- No keystroke logging: Typing is captured as timing only, never characters
- Event-level metadata only: Timing and physical metrics only
Multi-Platform
Architecture
- Event Collectors: Capture scroll, tap, swipe, app_switch, notification, call, typing, and clipboard events.
- Session summary: Raw counts per session (events, app switches, notifications, calls) plus device and system context.
- Motion: Kotlin runs an on-device motion-state model (LAYING, MOVING, SITTING, STANDING) when
enableMotionLiteis on. Flutter and Swift instead emit raw 50 Hz accelerometer samples (emitRawMotionSamples) for the runtime to classify.
Quick Start
Use Cases
Focus and distraction
Feed behavior into Synheart Core and read the digital axes of each HSI window. The behavior SDK itself no longer returns focus or distraction scores:BehaviorSessionSummary.behavioralMetrics is always null.
Digital wellness analytics
Track raw interaction patterns per session: event counts, app switches, notification and call counts, and device context (brightness, orientation, Do Not Disturb, charging).Interaction research
Subscribe to the event stream and keep the per-event timing metrics (tap duration, scroll velocity, typing cadence) for your own analysis.Behavioral metrics
Focus, distraction, task-switching and typing metrics are computed by the Synheart runtime from the event stream. See Metric definitions for what each one means. TheBehavioralMetrics and TypingSessionSummary types still exist in
the SDKs, but the SDKs leave them null.
Motion state
API Features
Available SDKs
Flutter SDK
Cross-platform mobile apps (iOS + Android)
Kotlin/Android SDK
Native Android applications
Swift/iOS SDK
Native iOS applications
example/ directory:
Flutter ·
Kotlin ·
Swift.
Stability
Synheart Behavior is pre-1.0. Minor version bumps may include breaking API changes — pin exact versions in production, and read the CHANGELOG before upgrading. The three language SDKs are versioned independently (Flutter 0.4.x, Kotlin 0.6.x, Swift 0.5.x at time of writing); check each before bumping.Privacy & Security
- On-Device Processing: Events are captured and summarized locally
- No Data Retention: The SDK keeps no events after a session ends
- No Network Calls: No data is sent to external servers
- Privacy-First Design: No built-in storage - you control what gets persisted
- No Content Capture: No text, images, or semantic data collected
- Event-Level Metadata Only: Only timing and physical metrics
Resources
- Dart: synheart-behavior-flutter · pub.dev
- Kotlin: synheart-behavior-kotlin · Maven Central
- Swift: synheart-behavior-swift