public final class HdmiPlaybackClient extends HdmiClient
Modifier and Type | Class and Description |
---|---|
static interface |
HdmiPlaybackClient.DisplayStatusCallback
Listener used by the client to get display device status.
|
static interface |
HdmiPlaybackClient.OneTouchPlayCallback
Listener used by the client to get the result of one touch play operation.
|
Modifier and Type | Method and Description |
---|---|
int |
getDeviceType() |
void |
oneTouchPlay(HdmiPlaybackClient.OneTouchPlayCallback callback)
Performs the feature 'one touch play' from playback device to turn on display
and switch the input.
|
void |
queryDisplayStatus(HdmiPlaybackClient.DisplayStatusCallback callback)
Gets the status of display device connected through HDMI bus.
|
void |
sendStandby()
Sends a <Standby> command to TV.
|
getActiveSource, sendKeyEvent, sendVendorCommand, setVendorCommandListener
public void oneTouchPlay(HdmiPlaybackClient.OneTouchPlayCallback callback)
callback
- HdmiPlaybackClient.OneTouchPlayCallback
object to get informed
of the resultpublic int getDeviceType()
public void queryDisplayStatus(HdmiPlaybackClient.DisplayStatusCallback callback)
callback
- HdmiPlaybackClient.DisplayStatusCallback
object to get informed
of the resultpublic void sendStandby()