Example usage for android.content Context CONSUMER_IR_SERVICE

List of usage examples for android.content Context CONSUMER_IR_SERVICE

Introduction

In this page you can find the example usage for android.content Context CONSUMER_IR_SERVICE.

Prototype

String CONSUMER_IR_SERVICE

To view the source code for android.content Context CONSUMER_IR_SERVICE.

Click Source Link

Document

Use with #getSystemService(String) to retrieve a android.hardware.ConsumerIrManager for transmitting infrared signals from the device.

Usage

From source file:com.tih.tihir.ConsumerIrManagerBase.java

@SuppressWarnings("ResourceType")
public ConsumerIrManagerBase(Context context) {
    super(context);
    // Get a reference to the ConsumerIrManager
    mCIR = (ConsumerIrManager) context.getSystemService(Context.CONSUMER_IR_SERVICE);
}