| java.lang.Object | |
| ↳ | android.media.tv.TvView.TvInputCallback |
Callback used to receive various status updates on the TvView.
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
This is invoked when the channel of this TvView is changed by the underlying TV input
without any
tune(String, Uri) request.
| |||||||||||
This is invoked when an error occurred while establishing a connection to the underlying
TV input.
| |||||||||||
This is called when the current program content turns out to be allowed to watch since
its content rating is not blocked by parental controls.
| |||||||||||
This is called when the current program content turns out to be not allowed to watch
since its content rating is blocked by parental controls.
| |||||||||||
This is invoked when the existing connection to the underlying TV input is lost.
| |||||||||||
This is called when the time shift status is changed.
| |||||||||||
This is called when there is a change on the selected tracks.
| |||||||||||
This is called when the track information has been changed.
| |||||||||||
This is called when the video is available, so the TV input starts the playback.
| |||||||||||
This is invoked when the video size has been changed.
| |||||||||||
This is called when the video is not available, so the TV input stops the playback.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
This is invoked when the channel of this TvView is changed by the underlying TV input
without any tune(String, Uri) request.
| inputId | The ID of the TV input bound to this view. |
|---|---|
| channelUri | The URI of a channel. |
This is invoked when an error occurred while establishing a connection to the underlying TV input.
| inputId | The ID of the TV input bound to this view. |
|---|
This is called when the current program content turns out to be allowed to watch since its content rating is not blocked by parental controls.
| inputId | The ID of the TV input bound to this view. |
|---|
This is called when the current program content turns out to be not allowed to watch since its content rating is blocked by parental controls.
| inputId | The ID of the TV input bound to this view. |
|---|---|
| rating | The content rating of the blocked program. |
This is invoked when the existing connection to the underlying TV input is lost.
| inputId | The ID of the TV input bound to this view. |
|---|
This is called when the time shift status is changed.
| inputId | The ID of the TV input bound to this view. |
|---|---|
| status | The current time shift status. Should be one of the followings. |
This is called when there is a change on the selected tracks.
| inputId | The ID of the TV input bound to this view. |
|---|---|
| type | The type of the track selected. The type can be
TYPE_AUDIO, TYPE_VIDEO or
TYPE_SUBTITLE. |
| trackId | The ID of the track selected. |
This is called when the track information has been changed.
| inputId | The ID of the TV input bound to this view. |
|---|---|
| tracks | A list which includes track information. |
This is called when the video is available, so the TV input starts the playback.
| inputId | The ID of the TV input bound to this view. |
|---|
This is invoked when the video size has been changed. It is also called when the first time video size information becomes available after this view is tuned to a specific channel.
| inputId | The ID of the TV input bound to this view. |
|---|---|
| width | The width of the video. |
| height | The height of the video. |
This is called when the video is not available, so the TV input stops the playback.
| inputId | The ID of the TV input bound to this view. |
|---|---|
| reason | The reason why the TV input stopped the playback: |