getTrainingTime
This method returns the duration of a training. It is the approximate time needed by Cortex to decide if a training is a success or a failure. See BCI for details.
Parameters
Name | Type | Required | Description |
cortexToken |
| yes | A token returned by authorize. |
detection |
| yes | Must be "mentalCommand" or "facialExpression". |
session |
| yes | A session id returned by createSession. |
Result
The result is an object containing these fields:
Name | Type | Description |
time |
| The approximate duration of a training, in second. |
detection |
| The detection you set in the request. |
The time should be 8 seconds, for both mental command and facial expression.
Examples
Last updated