Setdeviceid, Clearbuffers, Getbatterylevel – MagTek Audio Reader for Android Devices User Manual

Page 16: Getcapmagneprint

Advertising
background image

10

MagTekSCRA.DEVICE_TYPE_NONE
MagTekSCRA.DEVICE_TYPE_AUDIO
MagTekSCRA.DEVICE_TYPE_BLUETOOTH

Return Value

setDeviceID

Set device identifier for the Bluetooth device.
-

public void setDeviceID(

String lpstrDeviceID

)


Parameters

lpstrDeviceID

ID of the Bluetooth device to connect to.

Return Value

clearBuffers

Clears buffered data already retrieved from the reader
-

public void clearBuffers()


Parameters

Return Value

getBatteryLevel

Retrieves battery level
-

public long getBatteryLevel()


Parameters

Return Value

Battery Level (0 to 100)

getCapMagnePrint

Retrieves MagnePrint Capabilities
-

public String getCapMagnePrint()


Parameters

Return Value

Advertising