public static class HdmiRecordListener.TimerStatusData extends Object
Modifier and Type | Method and Description |
---|---|
int |
getDurationHour()
Duration hours.
|
int |
getDurationMinute()
Duration minutes.
|
int |
getExtraError()
Extra error code.
|
int |
getMediaInfo()
Indicates if removable media is present and its write protect state.
|
int |
getNotProgammedError()
Information indicating any fatal issues with the programming request.
|
int |
getProgrammedInfo()
Information indicating any non-fatal issues with the programming request.
|
boolean |
isOverlapped()
Indicates if there is another timer block already set which overlaps with this new
recording request.
|
boolean |
isProgrammed()
Selector for [Timer Programmed Info].
|
public boolean isOverlapped()
public int getMediaInfo()
public boolean isProgrammed()
true
, getProgrammedInfo()
would have meaningful value and
ignore result of getNotProgammedError()
.public int getProgrammedInfo()
isProgrammed()
returns true.
It should be one of the following values.
IllegalStateException
- if it's called when isProgrammed()
returns falsepublic int getNotProgammedError()
isProgrammed()
returns false.
it should be one of the following values.
HdmiControlManager.TIMER_STATUS_NOT_PROGRAMMED_NO_FREE_TIME
HdmiControlManager.TIMER_STATUS_NOT_PROGRAMMED_DATE_OUT_OF_RANGE
HdmiControlManager.TIMER_STATUS_NOT_PROGRAMMED_INVALID_SEQUENCE
HdmiControlManager.TIMER_STATUS_NOT_PROGRAMMED_INVALID_EXTERNAL_PHYSICAL_NUMBER
HdmiControlManager.TIMER_STATUS_NOT_PROGRAMMED_CA_NOT_SUPPORTED
HdmiControlManager.TIMER_STATUS_NOT_PROGRAMMED_NO_CA_ENTITLEMENTS
HdmiControlManager.TIMER_STATUS_NOT_PROGRAMMED_UNSUPPORTED_RESOLUTION
HdmiControlManager.TIMER_STATUS_NOT_PROGRAMMED_PARENTAL_LOCK_ON
HdmiControlManager.TIMER_STATUS_NOT_PROGRAMMED_CLOCK_FAILURE
HdmiControlManager.TIMER_STATUS_NOT_PROGRAMMED_DUPLICATED
IllegalStateException
- if it's called when isProgrammed()
returns truepublic int getDurationHour()
public int getDurationMinute()
public int getExtraError()
HdmiControlManager.TIMER_RECORDING_RESULT_EXTRA_NO_ERROR
No extra errors. Other values of this class might be available.
HdmiControlManager.TIMER_RECORDING_RESULT_EXTRA_CHECK_RECORDER_CONNECTION
Check record connection. Other values of this class should be ignored.
HdmiControlManager.TIMER_RECORDING_RESULT_EXTRA_FAIL_TO_RECORD_SELECTED_SOURCE
Fail to record selected source. Other values of this class should be ignored.
HdmiControlManager.TIMER_RECORDING_RESULT_EXTRA_CEC_DISABLED
Cec disabled. Other values of this class should be ignored.