Class CortexSampleParser

java.lang.Object
com.javiergs.cortex4j.CortexSampleParser

public final class CortexSampleParser extends Object
Converts a Cortex stream notification to a sample without guessing channel layouts.
Version:
1.0 (2026-10-29)
Author:
javiergs
  • Method Details

    • parse

      public static Optional<CortexSample> parse(com.fasterxml.jackson.databind.JsonNode message)
      Parses a JSON message into a CortexSample.
      Parameters:
      message - the JSON message to parse
      Returns:
      an Optional containing the parsed CortexSample, or empty if parsing fails