Created
July 23, 2018 09:52
-
-
Save DavidOndrus/575838d9bab41c03b34100811d8ebcb0 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public void handleMessage(Message msg) { | |
int status = msg.getData().getInt("status"); | |
switch (status) { | |
case Status.INITIALISED: | |
case Status.SCANNER_POWERED_ON: | |
case Status.READY_TO_SCAN: | |
case Status.FINGER_DETECTED: | |
case Status.RECEIVING_IMAGE: | |
case Status.FINGER_LIFTED: | |
case Status.SCANNER_POWERED_OFF: | |
case Status.SUCCESS: | |
case Status.ERROR: | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment