FileDocCategorySizeDatePackage
SystemAudioActionFromTv.javaAPI DocAndroid 5.1 API1729Thu Mar 12 22:22:42 GMT 2015com.android.server.hdmi

SystemAudioActionFromTv

public final class SystemAudioActionFromTv extends SystemAudioAction
Feature action that handles System Audio initiated by TV devices.

Fields Summary
Constructors Summary
SystemAudioActionFromTv(HdmiCecLocalDevice sourceAddress, int avrAddress, boolean targetStatus, android.hardware.hdmi.IHdmiControlCallback callback)
Constructor

param
sourceAddress {@link HdmiCecLocalDevice} instance
param
avrAddress logical address of AVR device
param
targetStatus Whether to enable the system audio mode or not
param
callback callback interface to be notified when it's done
throw
IllegalArugmentException if device type of tvAddress is invalid

        super(sourceAddress, avrAddress, targetStatus, callback);
        HdmiUtils.verifyAddressType(getSourceAddress(), HdmiDeviceInfo.DEVICE_TV);
    
Methods Summary
booleanstart()

        removeSystemAudioActionInProgress();
        sendSystemAudioModeRequest();
        return true;