YB Serial Library

YB Serial Library

Classes

Fingerprint Manager

Detailed Description

The class the manages the FingerPrint Module.

Public Member Functions Documentation

void YbSerialLibrary.FingeprintManager.Enroll (int position = 0) 

Method to start the Enroll Process

Parameters
position position is the value that is used in the fingerprint stm, use 0

void YbSerialLibrary.FingeprintManager.Identify()

Method to start the Identify Process

void YbSerialLibrary.FingeprintManager.OpenFingerprintScanner ( )

Method to OpenFingerPrintScanner the Led will turn on after using this Method, For non Experts Advised not to use

virtual void YbSerialLibrary.FingeprintManager.SendMessageToUser (string message)

Method used to communicate with the User the various steps of the Enroll and Identify Methods, Ovveride in own script to use the message information.

Parameters
message This is a message Sent From The Gestic, use as an Input ßValue

virtual void YbSerialLibrary.FingeprintManager.Start ( )

Start a listener of the messages directed to the fingerprint

Gesture Listener

Detailed Description

Script that Manages the Gesture and you can decide what happens When one of the Gestures Is recognized.

Public Member Functions Documentation

virtual void YbSerialLibrary.GestureListener.OnDoubleTap ( )

Ovveride this function in own Script to use the DOUBLE TAP Functionality


virtual void YbSerialLibrary.GestureListener.OnFlickDownToUp ( )

Ovveride this function in own Script to use the FLICK DOWN TO UP Functionality

virtual void YbSerialLibrary.GestureListener.OnFlickLeftToRight ( ) Ovveride this function in own Script to use the FLICK LEFT TO RIGHT Functionality
virtual void YbSerialLibrary.GestureListener.OnFlickRightToLeft ( ) Ovveride this function in own Script to use the FLICK RIGHT TO LEFT Functionality
virtual void YbSerialLibrary.GestureListener.OnFlickUpToDown ( ) Ovveride this function in own Script to use the FLICK UP TO DOWN Functionality

virtual void YbSerialLibrary.GestureListener.OnSingleTap ( )

Ovveride this function in own Script to use the DOUBLE TAP Functionality

Serial Manager

Detailed Description

SerialManager is the gateway between Android and Unity and in Particular the Fingerprint and Gesture Recognizer to use SerialManager only attach this to this a Gameobject and be sure the Serial Library arr is included in the Unity project.

Public Member Functions Documentation

static void YbSerialLibrary.SerialManager.sendData ( sbyte[] data )

call the method sendToSerialPort of the singleton object when we want to send commands over the serial from the Unity application.

Parameters
data Used to Send Command in the Serial Port Manually, please do Not use if not aware of the Stm commands, Please Contact us First.