Public Member Functions | |
abstract String | packetType (MuseDataPacketType type) |
abstract String | connectionState (ConnectionState state) |
Static Public Member Functions | |
static native Stringify | instance () |
Converts some LibMuse constants to strings.
This is primarily used for LibMuse internal logging purposes. Don't use this to generate UI elements; the results are not guaranteed to be human-friendly, nor localized. You may, however, use this for your own logging or debugging purposes.
|
abstract |
String connection state.
state | The connection state. |
|
static |
Returns the singleton instance.
|
abstract |
String packet type.
Only the primitive packet types (eeg, accelerometer, gyro, battery, drl_ref) are human-readable. The rest show up as "type_<n>" where n is the integer corresponding to the constant.
type | The packet type. |