java.lang.Object | |
↳ | android.media.tv.TvView.TimeShiftPositionCallback |
Callback used to receive time shift position changes.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
This is called when the current playback position is changed.
| |||||||||||
This is called when the start playback position is changed.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
This is called when the current playback position is changed.
Note that timeMs
is not relative time in the program but wall-clock time,
which is intended to avoid calling this method unnecessarily around program boundaries.
inputId | The ID of the TV input bound to this view. |
---|---|
timeMs | The current playback position of the time shifted program, in milliseconds since the epoch. |
This is called when the start playback position is changed.
The start playback position of the time shifted program can be adjusted by the TV input when it cannot retain the whole recorded program due to some reason (e.g. limitation on storage space). The application should not allow the user to seek to a position earlier than the start position.
Note that timeMs
is not relative time in the program but wall-clock time,
which is intended to avoid calling this method unnecessarily around program boundaries.
inputId | The ID of the TV input bound to this view. |
---|---|
timeMs | The start playback position of the time shifted program, in milliseconds since the epoch. |