getDetectionInfo

This method returns useful information about the mental command training or the facial expression training.

Parameters

Name

Type

Required

Description

detection

string

yes

Must be "mentalCommand" or "facialExpression".

Result

The result is an object containing information about the detection you specified in the parameters.

Name

Type

Description

actions

array of strings

The actions that this detection can detect.

controls

array of strings

events

array of strings

signature

array of strings

Examples

Mental command

{
    "id": 1,
    "jsonrpc": "2.0",
    "method": "getDetectionInfo",
    "params": {
        "detection": "mentalCommand"
    }
}

Facial expression

{
    "id": 1,
    "jsonrpc": "2.0",
    "method": "getDetectionInfo",
    "params": {
        "detection": "facialExpression"
    }
}

Last updated