Package 

Class SessionEvent


  • 
    public class SessionEvent
    
                        

    Sealed event hierarchy emitted by SynheartSession.startSession.

    Stream lifecycle: SessionStartedSessionFrame*SessionSummary (or terminating SessionError). When raw samples are requested, BiosignalFrame events interleave between session frames.

    Mirrors the Flutter / Swift sibling SDKs' SessionEvent. The wire format (returned by toMap) uses snake_case keys identical across all three.

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private final String sessionId
    • Method Summary

      Modifier and Type Method Description
      abstract String getSessionId()
      abstract Map<String, Object> toMap()
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait