Java android.media.tv TvInputManager fields, constructors, methods, implement or subclass

Example usage for Java android.media.tv TvInputManager fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for android.media.tv TvInputManager.

The text is from its open source code.

Field

intVIDEO_UNAVAILABLE_REASON_UNKNOWN
Reason for TvInputService.Session#notifyVideoUnavailable(int) and TvView.TvInputCallback#onVideoUnavailable(String,int) : Video is unavailable due to an unspecified error.
intVIDEO_UNAVAILABLE_REASON_TUNING
Reason for TvInputService.Session#notifyVideoUnavailable(int) and TvView.TvInputCallback#onVideoUnavailable(String,int) : Video is unavailable because the corresponding TV input is in the middle of tuning to a new channel.
intVIDEO_UNAVAILABLE_REASON_WEAK_SIGNAL
Reason for TvInputService.Session#notifyVideoUnavailable(int) and TvView.TvInputCallback#onVideoUnavailable(String,int) : Video is unavailable due to weak TV signal.
intVIDEO_UNAVAILABLE_REASON_BUFFERING
Reason for TvInputService.Session#notifyVideoUnavailable(int) and TvView.TvInputCallback#onVideoUnavailable(String,int) : Video is unavailable because the corresponding TV input has stopped playback temporarily to buffer more data.
intVIDEO_UNAVAILABLE_REASON_AUDIO_ONLY
Reason for TvInputService.Session#notifyVideoUnavailable(int) and TvView.TvInputCallback#onVideoUnavailable(String,int) : Video is unavailable because the current TV program is audio-only.
longTIME_SHIFT_INVALID_TIME
Value returned by TvInputService.Session#onTimeShiftGetCurrentPosition() and TvInputService.Session#onTimeShiftGetStartPosition() when time shifting has not yet started.
intRECORDING_ERROR_INSUFFICIENT_SPACE
Error for TvInputService.RecordingSession#notifyError(int) and TvRecordingClient.RecordingCallback#onError(int) : Recording cannot proceed due to insufficient storage space.
StringACTION_PARENTAL_CONTROLS_ENABLED_CHANGED
Broadcast intent action when the parental controls enabled state changes.
StringACTION_SETUP_INPUTS
Activity action to set up channel sources i.e. TV inputs of type TvInputInfo#TYPE_TUNER .

Method

ListgetTvInputList()
Returns the complete list of TV inputs on the system.
voidregisterCallback(@NonNull TvInputCallback callback, @NonNull Handler handler)
Registers a TvInputCallback .