Sony Addon SDK public interface

IrManager

This project is no longer being supported and will not get any further updates.

Class Overview

This interface defines three main methods required to activate IrManager, get registered devices, and inactivate IrManager. IrManager.Listener is a subclass of this interface.

Summary

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.

Public Methods

public void activate(Context context, IrManager.Listener listener)

Activate IrManager. Asynchronous method. The Result will be delivered by Listener.

Parameters
context context.
listener listener of IrManager.
See Also

public void inactivate()

Inactivate IrManager. If binded to the PublicRemoteControlService, unbind. Synchronous method.

public java.util.List<Device> getRegisteredDevices()

Returns the devices which has registered with DB. Synchronous method.

Returns

list of registered devices.