beautypg.com

Methods, Opendevice, Closedevice – MagTek Audio Reader for Android Devices User Manual

Page 9: Isdeviceconnected

background image

3

Methods

openDevice:

This function opens the reader.

-

public void openDevice()


Parameters

None


Return Value

None

closeDevice

This function closes the reader.

-

public

void

closeDevice(){

Parameters

None

Return Value

None


isDeviceConnected

This function retrieves the connection status of the reader.

-

public boolean isDeviceConnected()

Parameters

None

Return Value

TRUE if the device is connected. Otherwise, return FALSE.