Nx10 Logo
Docs

nx10 SDK for iOS

Native Swift integration for behavioural telemetry, BrainJuice scoring, psychometric games, analytics, and consent-aware compliance workflows.

What is the iOS SDK?

nx10 SDK captures on-device behavioural telemetry from touch, motion, typing, and screen interaction patterns. It gives standard UIKit and SwiftUI apps a native path into nx10 without forcing teams to rebuild their UI around analytics code.

That telemetry describes how someone interacts with a device, not what they are doing on screen or what they type. nx10 does not receive screen recordings, screenshots, text field contents, passwords, or message bodies.

The SDK also supports app extensions. By configuring the same App Group in your main app and keyboard extension, telemetry can be written into shared local storage and uploaded by the main app when networking is enabled.

1. The Observation Engine

Touch, motion, keyboard, and screen-state signals are captured locally, batched, compressed, and uploaded only when the user has granted data-collection consent. The SDK uses background work and compact payloads to keep memory, battery, and network overhead low.

2. The Insight Engine

BrainJuice turns collected telemetry into a current brain-state index, confidence classification, history, and sub-indices such as motor stability and behaviour restlessness.

Core Capabilities

  • BrainJuice Brain State Scoring: Fetch current cognitive/emotional state, confidence levels, historical trend entries, and model sub-indices.
  • Psychometric Games API: Start assessment sessions and retrieve historical results for PVT, TMT, Stroop, Chimp, SDMT, Dot Memory, and N-Back.
  • Touch, Motion, and Typing Telemetry: Capture touches, accelerometer, gyroscope, magnetometer, keypresses, corrections, deletions, orientation, lock state, and brightness without capturing typed content or the user's screen.
  • Performance-Aware Processing: Use concurrent processing, batching, compression, and background uploads to reduce main-thread work, memory pressure, battery usage, and network footprint. The SDK runs as a singleton to keep reads and writes coordinated, avoid duplicate pipelines, and reduce data-corruption risk.

Privacy by Signal Design

The SDK is intentionally built around kinematic and interaction metadata. It can observe timing, movement, correction behaviour, and device state, but it does not know the app content the user is looking at or the words they enter.

Captured
  • Touch timing, phase, movement, and force.
  • Motion, orientation, lock state, and brightness.
  • Keyboard events such as keypress timing and correction behaviour.
Not Captured
  • Text contents, passwords, or message bodies.
  • Screenshots, screen recordings, or view contents.
  • The semantic meaning of what the user is doing in another app.

Better Together: Keyboard Extensions

The main iOS SDK gives you deep context while the user is inside your app. A custom keyboard extension can add typing behaviour, corrections, deletions, and broader daily context. Both targets must use the same App Group identifier so data is shared safely.

Read the Keyboard Integration Guide →