FileDocCategorySizeDatePackage
HdmiRecordListener.javaAPI DocAndroid 5.1 API10911Thu Mar 12 22:22:10 GMT 2015android.hardware.hdmi

HdmiRecordListener

public abstract class HdmiRecordListener extends Object
Listener for hdmi record feature including one touch record and timer recording.
hide

Fields Summary
Constructors Summary
public HdmiRecordListener()

Methods Summary
public voidonClearTimerRecordingResult(int recorderAddress, int result)
Called when receiving result for clear timer recording request.

param
recorderAddress An address of recorder that reports result of clear timer recording request
param
result result of clear timer. It should be one of {@link HdmiControlManager#CLEAR_TIMER_STATUS_TIMER_NOT_CLEARED_RECORDING} {@link HdmiControlManager#CLEAR_TIMER_STATUS_TIMER_NOT_CLEARED_NO_MATCHING}, {@link HdmiControlManager#CLEAR_TIMER_STATUS_TIMER_NOT_CLEARED_NO_INFO_AVAILABLE}, {@link HdmiControlManager#CLEAR_TIMER_STATUS_TIMER_CLEARED}, {@link HdmiControlManager#CLEAR_TIMER_STATUS_CHECK_RECORDER_CONNECTION}, {@link HdmiControlManager#CLEAR_TIMER_STATUS_FAIL_TO_CLEAR_SELECTED_SOURCE}, {@link HdmiControlManager#CLEAR_TIMER_STATUS_CEC_DISABLE}.

    
public voidonOneTouchRecordResult(int recorderAddress, int result)
Called when one touch record is started or failed during initialization.

param
recorderAddress An address of recorder that reports result of one touch record request
param
result result code. For more details, please look at all constants starting with "ONE_TOUCH_RECORD_". Only {@link HdmiControlManager#ONE_TOUCH_RECORD_RECORDING_CURRENTLY_SELECTED_SOURCE}, {@link HdmiControlManager#ONE_TOUCH_RECORD_RECORDING_DIGITAL_SERVICE}, {@link HdmiControlManager#ONE_TOUCH_RECORD_RECORDING_ANALOGUE_SERVICE}, and {@link HdmiControlManager#ONE_TOUCH_RECORD_RECORDING_EXTERNAL_INPUT} mean normal start of recording; otherwise, describes failure.

    
public abstract android.hardware.hdmi.HdmiRecordSources.RecordSourceonOneTouchRecordSourceRequested(int recorderAddress)
Called when TV received one touch record request from record device. The client of this should use {@link HdmiRecordSources} to return it.

param
recorderAddress
return
record source to be used for recording. Null if no device is available.

public voidonTimerRecordingResult(int recorderAddress, android.hardware.hdmi.HdmiRecordListener$TimerStatusData data)
Called when timer recording is started or failed during initialization.

param
recorderAddress An address of recorder that reports result of timer recording request
param
data timer status data. For more details, look at {@link TimerStatusData}.