com.sony.remotecontrol.ir
Interface IrManager.Listener

Enclosing interface:
IrManager

public 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 onActivated(IrManager irManager)
          Callback for activate command.
 void onDeviceAttributeChanged(Device d)
          Notification that indicates the change of an attribute of the device by other client.
 void onDeviceRegistered(Device d)
          Notification that indicates the device registration by other client.
 void onDeviceUnregistered(Device d)
          Notification that indicates the device unregistration by other client.
 void onError(Status status)
          Notification that indicates error.
 

Method Detail

onActivated

void onActivated(IrManager irManager)
Callback for activate command.

Parameters:
irManager - Instance of IrManager which is activated.
See Also:
IrManager.activate(Context, com.sony.remotecontrol.ir.IrManager.Listener)

onDeviceRegistered

void onDeviceRegistered(Device d)
Notification that indicates the device registration by other client.

Parameters:
d - the device that has just registered.

onDeviceUnregistered

void onDeviceUnregistered(Device d)
Notification that indicates the device unregistration by other client.

Parameters:
d - the device that has just unregistered.

onDeviceAttributeChanged

void onDeviceAttributeChanged(Device d)
Notification that indicates the change of an attribute of the device by other client.

Parameters:
d - the device that has changed attributes.

onError

void onError(Status status)
Notification that indicates error.

Parameters:
status -