public static final class TvInputManager.Hardware extends Object
TV hardware is physical hardware attached to the Android device; for example, HDMI ports, Component/Composite ports, etc. Specifically, logical devices such as HDMI CEC logical devices don't fall into this category.
Modifier and Type | Method and Description |
---|---|
boolean |
dispatchKeyEventToHdmi(KeyEvent event) |
void |
overrideAudioSink(int audioType,
String audioAddress,
int samplingRate,
int channelMask,
int format) |
void |
setStreamVolume(float volume) |
boolean |
setSurface(Surface surface,
TvStreamConfig config) |
public boolean setSurface(Surface surface, TvStreamConfig config)
public void setStreamVolume(float volume)
public boolean dispatchKeyEventToHdmi(KeyEvent event)
public void overrideAudioSink(int audioType, String audioAddress, int samplingRate, int channelMask, int format)