Other Events

List of all non system events available in the Training Handler class

Trained Actions Result

Provides a list of trained actions with names and times trained

TrainedActionsResult(TrainedActions trainedActions);

public class TrainedActions
{
    public List<TrainedAction> trainedActions;
    public int trainingCount;
    public int totalTimesTraining;
    public int trainingRoundsCompleted;
    
    public struct TrainedAction
    {
        public string action;
        public int timesTrained;
    }
}

Training Threshold Result

Provides the current threshold and last training score for a mental action. Threshold is the goal a training score should reach to be accepted. both are (0.0 - 1.0)

TrainingThresholdResult(TrainingThreshold trainingThreshold);

public class TrainingThreshold
{
    public double currentThreshold;
    public double lastTrainingScore;
}

Action Sensitivity Result

Provides the current sensitivity information for a set of active actions

ActionSensitivityResult(ActionSensitivity sensitivity);

public class ActionSensitivity
{
    // sensitivity values of a set of trained actions. [1-10]
    public int[] actionValues;
    public bool isResponseToSet;
}

Training Time Result

Provides the approximate length of a training session in seconds

TrainingTimeResult(double trainingTime);

Detection Info Result

Provides information about available actions, controls and events

DetectionInfoResult(DetectionInfo detectionInfo);

public class DetectionInfo
{
    public string DetectionName;
    public List<string> Actions;
    public List<string> Controls;
    public List<string> Events;
    public List<string> Signature;
}

Training Request Result

Sent in response to training requests

TrainingRequestResult(JObject response);

Last updated