Download Print this page

Elo TouchSystems Backpack User Manual page 21

Android media player. touch solutions

Advertisement

ELOPeripheralManager and ELOPeripheralEventListener
As we mentioned in the last section, ELOPeripheralManager and ELOPeripheralEventListener are the components that provide interface
for application development. Inner member data of ELOPeripheralManager and ELOPeripheralEventListener are listed below:
1. ELOPeripheralManager
This manager contains some inner class member (as shown below) and for each inner class, provides specific functionality to
peripheral equipment or defined action flow.
public void registerListener(ELOPeripheralEventListener listener)
Provide interface for application to register the feedback structure instance
Needs to register before request (Activity life cycle: onResume)
public void unregisterListener(ELOPeripheralEventListener listener)
Provide interface for application to unregister the feedback structure instance
Needs to unregister before leave the application (Activity life cycle: onPause)
User Manual – I-series 2.0
ELOPeripheralManager
mBCR_APIs
mMSR_APIs
mNFC_APIs
mGPIO_APIs
mIDLE_APIs
public void registerListener(ELOPeripheralEventListener listener)
public void unregisterListener(ELOPeripheralEventListener listener)
UM600183 Rev. A, page 21 of 38

Hide quick links:

Advertisement

loading