de.lmu.ifi.mfchords.utils
Interface MFCListener


public interface MFCListener

Your View shoud implement the methods of MFCListener to receive events from the recognizer


Method Summary
 void MFCFingerReleased(java.lang.String tappingFinger)
          called when the previously tapped finger was released
 void MFCRecognized(java.lang.String mfc)
          called when recognizer classified the multi-finger chord.
 void MFCReleased()
          called when fingers of multi-finger chord were released.
 void MFCTapRecognized(java.lang.String mfc, java.lang.String tappingFinger)
          called when recognizer classified the multi-finger chord.
 

Method Detail

MFCRecognized

void MFCRecognized(java.lang.String mfc)
called when recognizer classified the multi-finger chord.

Parameters:
mfc - the String name of the multi-finger chord (see Constants for the list of names)

MFCReleased

void MFCReleased()
called when fingers of multi-finger chord were released.


MFCTapRecognized

void MFCTapRecognized(java.lang.String mfc,
                      java.lang.String tappingFinger)
called when recognizer classified the multi-finger chord.

Parameters:
mfc - the String name of the multi-finger chord (see Constants for the list of names)
tappingFinger - the String name of the finger that was tapped (e.g. if holding down the NF posture with thumb, index and middle finger, tapping the pinky will send 'pinky')

MFCFingerReleased

void MFCFingerReleased(java.lang.String tappingFinger)
called when the previously tapped finger was released

Parameters:
tappingFinger - the String name of the finger that was previously tapped and is now released.