FileDocCategorySizeDatePackage
HdmiControlManager.javaAPI DocAndroid 5.1 API20979Thu Mar 12 22:22:10 GMT 2015android.hardware.hdmi

HdmiControlManager

public final class HdmiControlManager extends Object
The {@link HdmiControlManager} class is used to send HDMI control messages to attached CEC devices.

Provides various HDMI client instances that represent HDMI-CEC logical devices hosted in the system. {@link #getTvClient()}, for instance will return an {@link HdmiTvClient} object if the system is configured to host one. Android system can host more than one logical CEC devices. If multiple types are configured they all work as if they were independent logical devices running in the system.

hide

Fields Summary
private static final String
TAG
private final IHdmiControlService
mService
public static final String
ACTION_OSD_MESSAGE
Broadcast Action: Display OSD message.

Send when the service has a message to display on screen for events that need user's attention such as ARC status change.

Always contains the extra fields {@link #EXTRA_MESSAGE_ID}.

Requires {@link android.Manifest.permission#HDMI_CEC} to receive.

public static final int
OSD_MESSAGE_ARC_CONNECTED_INVALID_PORT
Message that ARC enabled device is connected to invalid port (non-ARC port).
public static final int
OSD_MESSAGE_AVR_VOLUME_CHANGED
Message used by TV to receive volume status from Audio Receiver. It should check volume value that is retrieved from extra value with the key {@link #EXTRA_MESSAGE_EXTRA_PARAM1}. If the value is in range of [0,100], it is current volume of Audio Receiver. And there is another value, {@link #AVR_VOLUME_MUTED}, which is used to inform volume mute.
public static final String
EXTRA_MESSAGE_ID
Used as an extra field in the intent {@link #ACTION_OSD_MESSAGE}. Contains the ID of the message to display on screen.
public static final String
EXTRA_MESSAGE_EXTRA_PARAM1
Used as an extra field in the intent {@link #ACTION_OSD_MESSAGE}. Contains the extra value of the message.
public static final int
AVR_VOLUME_MUTED
Volume value for mute state.
public static final int
POWER_STATUS_UNKNOWN
public static final int
POWER_STATUS_ON
public static final int
POWER_STATUS_STANDBY
public static final int
POWER_STATUS_TRANSIENT_TO_ON
public static final int
POWER_STATUS_TRANSIENT_TO_STANDBY
public static final int
RESULT_SUCCESS
public static final int
RESULT_TIMEOUT
public static final int
RESULT_SOURCE_NOT_AVAILABLE
public static final int
RESULT_TARGET_NOT_AVAILABLE
public static final int
RESULT_ALREADY_IN_PROGRESS
public static final int
RESULT_EXCEPTION
public static final int
RESULT_INCORRECT_MODE
public static final int
RESULT_COMMUNICATION_FAILED
public static final int
DEVICE_EVENT_ADD_DEVICE
public static final int
DEVICE_EVENT_REMOVE_DEVICE
public static final int
DEVICE_EVENT_UPDATE_DEVICE
public static final int
ONE_TOUCH_RECORD_RECORDING_CURRENTLY_SELECTED_SOURCE
Recording currently selected source. Indicates the status of a recording.
public static final int
ONE_TOUCH_RECORD_RECORDING_DIGITAL_SERVICE
Recording Digital Service. Indicates the status of a recording.
public static final int
ONE_TOUCH_RECORD_RECORDING_ANALOGUE_SERVICE
Recording Analogue Service. Indicates the status of a recording.
public static final int
ONE_TOUCH_RECORD_RECORDING_EXTERNAL_INPUT
Recording External input. Indicates the status of a recording.
public static final int
ONE_TOUCH_RECORD_UNABLE_DIGITAL_SERVICE
No recording â