System Events

List of events available in the Training Handler class as a wrapper of system events from the Cortex API, these events are the backbone of the training process

Training Started

An instance of training has been successfully started

TrainingStarted(string headsetId);

Training Succeeded

An instance of training has been successfully completed, must accept or reject the sample

TrainingSucceeded(string headsetId)

Training Failed

An instance of training has failed, often to to lack of signal or contact quality

TrainingFailed(string headsetId);

Training Completed

A training sample was started, succeeded, and has now been accepted

TrainingCompleted(string headsetId);

Training Rejected

A training sample was started, succeeded, and has now been rejected

TrainingRejected(string headsetId);

Training Cancelled

A training sample was successfully cancelled

trainingCancelled(string headsetId);

Data Erased

The data for a mental command has been successfully erased

DataErased(string headsetId);

Auto Sampling Neutral Completed

AutoSamplingNeutralCompleted(string headsetId);

Signature Updated

SignatureUpdated(string headsetId);

Events are translated directly from the Cortex API data stream system events: https://emotiv.gitbook.io/cortex-api/bci/getdetectioninfo#mental-command

This wrapping is intended to provide otherwise direct events in a more intuitive place. They can also be used by subscribing to the system events data stream directly through Cortex.

Cortex.SubscribeSystemEvents(string headsetId, Action<SystemEventArgs> action);

Last updated