|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface IrManager
This interface defines three main methods required to activate IrManager, get registered devices, and inactivate IrManager. IrManager.Listener is a subclass of this interface.
| Nested Class Summary | |
|---|---|
static interface |
IrManager.Listener
This interface is a listener to IrManager and handles callbacks and notifications based on actions of the IrManager. |
| Method Summary | |
|---|---|
void |
activate(Context context,
IrManager.Listener listener)
Activate IrManager. |
java.util.List<Device> |
getRegisteredDevices()
Returns the devices which has registered with DB. |
void |
inactivate()
Inactivate IrManager. |
| Method Detail |
|---|
void activate(Context context,
IrManager.Listener listener)
context - context.listener - listener of IrManager.
java.lang.NullPointerException - context or listener is null.
IllegalStateExceptionIrManager.Listener.onActivated(com.sony.remotecontrol.ir.IrManager)void inactivate()
java.util.List<Device> getRegisteredDevices()
java.lang.IllegalStateException - if IrManager is not activated.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||