subscribe
This method is to subscribe to one or more data streams. You can call unsubscribe to cancel a subscription. After you successfully subscribe to a stream, Cortex will keep sending you data sample objects.
See Data Subscription for details.
The parameter streams must contain one or more values, chosen from this list: "eeg", "mot", "dev", "eq", "pow", "met", "com", "fac", "sys". See for details.
The result is an object that includes these fields:
In case of success, you get an object with these fields:
Please note that the field cols is especially important. This field tells you which values you will get in the data stream, and in which order. See for details.
In case of failure, you get an object with these fields:
Subscribe successfully to motion and performance metrics.
Subscribe successfully to performance metrics, but fail to subscribe to raw EEG.