Package com.javiergs.cortex4j
Class CortexSample
java.lang.Object
com.javiergs.cortex4j.CortexSample
A single Cortex stream sample, preserving the original channel values.
Stream channel layouts depend on the headset and Cortex subscription.
Values preserve their original JSON representation; use the Cortex stream
documentation to interpret channel ordering.
- Version:
- 1.0 (2026-10-29)
- Author:
- javiergs
-
Constructor Summary
ConstructorsConstructorDescriptionCortexSample(String stream, BigDecimal timestamp, String sessionId, List<com.fasterxml.jackson.databind.JsonNode> values) -
Method Summary
-
Constructor Details
-
CortexSample
public CortexSample(String stream, BigDecimal timestamp, String sessionId, List<com.fasterxml.jackson.databind.JsonNode> values)
-
-
Method Details
-
getStream
- Returns:
- Cortex stream name (for example,
metoreeg)
-
getTimestamp
- Returns:
- timestamp supplied by Cortex
-
getSessionId
- Returns:
- originating Cortex session ID, if provided
-
getValues
- Returns:
- immutable list of raw channel values in Cortex stream order
-