LibMuse 6.0.2
com.choosemuse.libmuse.MuseArtifactPacket Class Reference

Public Member Functions

 MuseArtifactPacket (boolean headbandOn, boolean blink, boolean jawClench, long timestamp)
 
boolean getHeadbandOn ()
 
boolean getBlink ()
 
boolean getJawClench ()
 
long getTimestamp ()
 
String toString ()
 

Detailed Description

Provides access to calculated artifacts.

Member Function Documentation

§ getBlink()

boolean com.choosemuse.libmuse.MuseArtifactPacket.getBlink ( )
inline

Eye blinking flag.

Returns
true if an eye blink was detected. false otherwise.

§ getHeadbandOn()

boolean com.choosemuse.libmuse.MuseArtifactPacket.getHeadbandOn ( )
inline

Flag which represents if the Muse Headband is on a person's head. Headband On detection is one of the first things muse elements algorithm does. If this flag is false you will not see other artifact or band power data.

Returns
true if the headband is on. false otherwise.

§ getJawClench()

boolean com.choosemuse.libmuse.MuseArtifactPacket.getJawClench ( )
inline

Jaw clench flag.

Returns
true if a jaw clench was detected. false otherwise.

§ getTimestamp()

long com.choosemuse.libmuse.MuseArtifactPacket.getTimestamp ( )
inline

Microseconds since epoch (usually Jan 1, 1970).

Returns
the timestamp of the packet expressed in microseconds since epoch.

§ toString()

String com.choosemuse.libmuse.MuseArtifactPacket.toString ( )
inline

Returns a string representation of this object.

Returns
a string representation of this object.

The documentation for this class was generated from the following file: