TvInputManager Class

Definition

Central system API to the overall TV input framework (TIF) architecture, which arbitrates interaction between applications and the selected TV inputs.

[Android.Runtime.Register("android/media/tv/TvInputManager", DoNotGenerateAcw=true)]
public sealed class TvInputManager : Java.Lang.Object
[<Android.Runtime.Register("android/media/tv/TvInputManager", DoNotGenerateAcw=true)>]
type TvInputManager = class
    inherit Object
Inheritance
TvInputManager
Attributes

Remarks

Central system API to the overall TV input framework (TIF) architecture, which arbitrates interaction between applications and the selected TV inputs.

There are three primary parties involved in the TV input framework (TIF) architecture:

<ul> <li>The <strong>TV input manager</strong> as expressed by this class is the central point of the system that manages interaction between all other parts. It is expressed as the client-side API here which exists in each application context and communicates with a global system service that manages the interaction across all processes. <li>A <strong>TV input</strong> implemented by TvInputService represents an input source of TV, which can be a pass-through input such as HDMI, or a tuner input which provides broadcast TV programs. The system binds to the TV input per application’s request. on implementing TV inputs. <li><strong>Applications</strong> talk to the TV input manager to list TV inputs and check their status. Once an application find the input to use, it uses TvView or TvRecordingClient for further interaction such as watching and recording broadcast TV programs. </ul>

Java documentation for android.media.tv.TvInputManager.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Fields

ActionBlockedRatingsChanged

Broadcast intent action when the user blocked content ratings change.

ActionParentalControlsEnabledChanged

Broadcast intent action when the parental controls enabled state changes.

ActionQueryContentRatingSystems

Broadcast intent action used to query available content rating systems.

ActionSetupInputs

Activity action to set up channel sources i.

ActionViewRecordingSchedules

Activity action to display the recording schedules.

BroadcastInfoStreamEvent
BroadcastInfoTypeCommand
BroadcastInfoTypeDsmcc
BroadcastInfoTypePes
BroadcastInfoTypeSection
BroadcastInfoTypeTable
BroadcastInfoTypeTimeline
BroadcastInfoTypeTs
MetaDataContentRatingSystems

Content rating systems metadata associated with #ACTION_QUERY_CONTENT_RATING_SYSTEMS.

RecordingErrorInsufficientSpace
Obsolete.

Error for TvInputService.RecordingSession#notifyError(int) and TvRecordingClient.RecordingCallback#onError(int): Recording cannot proceed due to insufficient storage space.

RecordingErrorResourceBusy
Obsolete.

Error for TvInputService.RecordingSession#notifyError(int) and TvRecordingClient.RecordingCallback#onError(int): Recording cannot proceed because a required recording resource was not able to be allocated.

RecordingErrorUnknown
Obsolete.

Error for TvInputService.RecordingSession#notifyError(int) and TvRecordingClient.RecordingCallback#onError(int): The requested operation cannot be completed due to a problem that does not fit under any other error codes, or the error code for the problem is defined on the higher version than application's android:targetSdkVersion.

SignalStrengthLost
Obsolete.

Signal lost.

SignalStrengthStrong
Obsolete.

Strong signal.

SignalStrengthWeak
Obsolete.

Weak signal.

TimeShiftInvalidTime

Value returned by TvInputService.Session#onTimeShiftGetCurrentPosition() and TvInputService.Session#onTimeShiftGetStartPosition() when time shifting has not yet started.

TimeShiftModeAuto
Obsolete.

Time shift mode: auto.

TimeShiftModeLocal
Obsolete.

Time shift mode: local.

TimeShiftModeNetwork
Obsolete.

Time shift mode: network.

TimeShiftModeOff
Obsolete.

Time shift mode: off.

TvMessageGroupIdNone

This value for #TV_MESSAGE_KEY_GROUP_ID denotes that the message doesn't belong to any group.

TvMessageKeyGroupId

This constant is used as a Bundle key for TV messages.

TvMessageKeyRawData

This constant is used as a Bundle key for TV messages.

TvMessageKeyStreamId

This constant is used as a Bundle key for TV messages.

TvMessageKeySubtype

This constant is used as a Bundle key for TV messages.

TvMessageSubtypeCc608e

This is a subtype for TV messages that can be potentially found as a value at #TV_MESSAGE_KEY_SUBTYPE.

TvMessageSubtypeWatermarkingA335

This is a subtype for TV messages that can be potentially found as a value at #TV_MESSAGE_KEY_SUBTYPE.

TvMessageTypeClosedCaption
Obsolete.

Indicates that this TV message contains Closed Captioning data

TvMessageTypeOther
Obsolete.

Indicates that this TV message contains other data

TvMessageTypeWatermark
Obsolete.

Indicates that this TV message contains watermarking data

VideoUnavailableReasonCasBlackout
Obsolete.

Reason for TvInputService.Session#notifyVideoUnavailable(int) and TvView.TvInputCallback#onVideoUnavailable(String, int): Video is unavailable because of a geographical blackout.

VideoUnavailableReasonCasCardInvalid
Obsolete.

Reason for TvInputService.Session#notifyVideoUnavailable(int) and TvView.TvInputCallback#onVideoUnavailable(String, int): Video is unavailable because smart card is invalid.

VideoUnavailableReasonCasCardMute
Obsolete.

Reason for TvInputService.Session#notifyVideoUnavailable(int) and TvView.TvInputCallback#onVideoUnavailable(String, int): Video is unavailable because smart card is muted.

VideoUnavailableReasonCasInsufficientOutputProtection
Obsolete.

Reason for TvInputService.Session#notifyVideoUnavailable(int) and TvView.TvInputCallback#onVideoUnavailable(String, int): Video is unavailable because the output protection level enabled on the device is not sufficient to meet the requirements in the license policy.

VideoUnavailableReasonCasLicenseExpired
Obsolete.

Reason for TvInputService.Session#notifyVideoUnavailable(int) and TvView.TvInputCallback#onVideoUnavailable(String, int): Video is unavailable because Using a license in whhich the keys have expired.

VideoUnavailableReasonCasNeedActivation
Obsolete.

Reason for TvInputService.Session#notifyVideoUnavailable(int) and TvView.TvInputCallback#onVideoUnavailable(String, int): Video is unavailable because the device need be activated.

VideoUnavailableReasonCasNeedPairing
Obsolete.

Reason for TvInputService.Session#notifyVideoUnavailable(int) and TvView.TvInputCallback#onVideoUnavailable(String, int): Video is unavailable because the device need be paired.

VideoUnavailableReasonCasNoCard
Obsolete.

Reason for TvInputService.Session#notifyVideoUnavailable(int) and TvView.TvInputCallback#onVideoUnavailable(String, int): Video is unavailable because smart card is missed.

VideoUnavailableReasonCasPvrRecordingNotAllowed
Obsolete.

Reason for TvInputService.Session#notifyVideoUnavailable(int) and TvView.TvInputCallback#onVideoUnavailable(String, int): Video is unavailable because the PVR record is not allowed by the license policy.

VideoUnavailableReasonCasRebooting
Obsolete.

Reason for TvInputService.Session#notifyVideoUnavailable(int) and TvView.TvInputCallback#onVideoUnavailable(String, int): Video is unavailable because CAS system is rebooting.

VideoUnavailableReasonCasUnknown
Obsolete.

Reason for TvInputService.Session#notifyVideoUnavailable(int) and TvView.TvInputCallback#onVideoUnavailable(String, int): Video is unavailable because of unknown CAS error.

VideoUnavailableReasonInsufficientResource
Obsolete.

Reason for TvInputService.Session#notifyVideoUnavailable(int) and TvView.TvInputCallback#onVideoUnavailable(String, int): Video is unavailable because the resource is not enough to meet requirement.

VideoUnavailableReasonNotConnected
Obsolete.

Reason for TvInputService.Session#notifyVideoUnavailable(int) and TvView.TvInputCallback#onVideoUnavailable(String, int): Video is unavailable because the source is not physically connected, for example the HDMI cable is not connected.

Properties

BlockedRatings

Returns the list of blocked content ratings.

Class

Returns the runtime class of this Object.

(Inherited from Object)
Handle

The handle to the underlying Android instance.

(Inherited from Object)
IsParentalControlsEnabled

Returns the user's parental controls enabled state.

JniIdentityHashCode (Inherited from Object)
JniPeerMembers
PeerReference (Inherited from Object)
ThresholdClass

This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

(Inherited from Object)
ThresholdType

This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

(Inherited from Object)
TvInputList

Returns the complete list of TV inputs on the system.

Methods

Clone()

Creates and returns a copy of this object.

(Inherited from Object)
Dispose() (Inherited from Object)
Dispose(Boolean) (Inherited from Object)
Equals(Object)

Indicates whether some other object is "equal to" this one.

(Inherited from Object)
GetHashCode()

Returns a hash code value for the object.

(Inherited from Object)
GetInputState(String)

Returns the state of a given TV input.

GetTvInputInfo(String)

Returns the TvInputInfo for a given TV input.

IsRatingBlocked(TvContentRating)

Checks whether a given TV content rating is blocked by the user.

JavaFinalize()

Called by the garbage collector on an object when garbage collection determines that there are no more references to the object.

(Inherited from Object)
Notify()

Wakes up a single thread that is waiting on this object's monitor.

(Inherited from Object)
NotifyAll()

Wakes up all threads that are waiting on this object's monitor.

(Inherited from Object)
RegisterCallback(TvInputManager+TvInputCallback, Handler)

Registers a TvInputCallback.

SetHandle(IntPtr, JniHandleOwnership)

Sets the Handle property.

(Inherited from Object)
ToArray<T>() (Inherited from Object)
ToString()

Returns a string representation of the object.

(Inherited from Object)
UnregisterCallback(TvInputManager+TvInputCallback)

Unregisters the existing TvInputCallback.

UnregisterFromRuntime() (Inherited from Object)
UpdateTvInputInfo(TvInputInfo)

Updates the TvInputInfo for an existing TV input.

Wait()

Causes the current thread to wait until it is awakened, typically by being <em>notified</em> or <em>interrupted</em>.

(Inherited from Object)
Wait(Int64)

Causes the current thread to wait until it is awakened, typically by being <em>notified</em> or <em>interrupted</em>, or until a certain amount of real time has elapsed.

(Inherited from Object)
Wait(Int64, Int32)

Causes the current thread to wait until it is awakened, typically by being <em>notified</em> or <em>interrupted</em>, or until a certain amount of real time has elapsed.

(Inherited from Object)

Explicit Interface Implementations

IJavaPeerable.Disposed() (Inherited from Object)
IJavaPeerable.DisposeUnlessReferenced() (Inherited from Object)
IJavaPeerable.Finalized() (Inherited from Object)
IJavaPeerable.JniManagedPeerState (Inherited from Object)
IJavaPeerable.SetJniIdentityHashCode(Int32) (Inherited from Object)
IJavaPeerable.SetJniManagedPeerState(JniManagedPeerStates) (Inherited from Object)
IJavaPeerable.SetPeerReference(JniObjectReference) (Inherited from Object)

Extension Methods

JavaCast<TResult>(IJavaObject)

Performs an Android runtime-checked type conversion.

JavaCast<TResult>(IJavaObject)
GetJniTypeName(IJavaPeerable)

Applies to