Package com.javiergs.cortex4j.data
Class MentalCommand
java.lang.Object
com.javiergs.cortex4j.data.Signal
com.javiergs.cortex4j.data.MentalCommand
A wrapper for the mental command signal as received
from the Emotiv Cortex WebSocket server.
- Version:
- 1.0.0 (2026.09.17)
- Author:
- javiergs
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StringgetValueFor(String attribute) org.json.JSONObjecttoJson()toString()
-
Constructor Details
-
MentalCommand
Constructor for mental command signal.- Parameters:
time- time of the signal
-
-
Method Details
-
addAction
-
addPower
-
getValueFor
- Specified by:
getValueForin classSignal
-
toString
-
getCommaSeparatedHeaders
-
getCommaSeparatedValues
- Specified by:
getCommaSeparatedValuesin classSignal
-
toJson
public org.json.JSONObject toJson()
-