Nested Classes | ||
---|---|---|
interface | IrManager.Listener | This interface is a listener to IrManager and handles callbacks and notifications based on actions of the IrManager. |
Public Methods | |
---|---|
void |
activate(Context context, IrManager.Listener listener)
Activate IrManager. |
void |
inactivate()
Inactivate IrManager. |
java.util.List<Device> |
getRegisteredDevices()
Returns the devices which has registered with DB. |
Activate IrManager. Asynchronous method. The Result will be delivered by Listener.
context | context. |
---|---|
listener | listener of IrManager. |
Inactivate IrManager. If binded to the PublicRemoteControlService, unbind. Synchronous method.
Returns the devices which has registered with DB. Synchronous method.
list of registered devices.
This interface defines three main methods required to activate IrManager, get registered devices, and inactivate IrManager. IrManager.Listener is a subclass of this interface.