Added in API level 33

TvInteractiveAppView


open class TvInteractiveAppView : ViewGroup
kotlin.Any
   ↳ android.view.View
   ↳ android.view.ViewGroup
   ↳ android.media.tv.interactive.TvInteractiveAppView

Displays contents of interactive TV applications.

Summary

Nested classes
abstract

Interface definition for a callback to be invoked when the unhandled input event is received.

abstract

Callback used to receive various status updates on the TvInteractiveAppView.

Inherited XML attributes
Constants
static String

Used to share the KeyStore alias with TvInteractiveAppService.

static String

Used to share client java.security.cert.Certificate with TvInteractiveAppService.

static String

Additional HTTP headers to be used by TvInteractiveAppService to load the broadcast-independent interactive application.

static String

HTTP user agent to be used by TvInteractiveAppService for broadcast-independent interactive application.

static String

Used to share the java.security.PrivateKey with TvInteractiveAppService.

static String

The name of the method where the error happened, if applicable.

Inherited constants
Public constructors

TvInteractiveAppView(context: Context, attrs: AttributeSet?, defStyleAttr: Int)

Public methods
open Unit

Clears the callback.

open Unit

Clears the OnUnhandledInputEventListener.

open Unit
createBiInteractiveApp(biIAppUri: Uri, params: Bundle?)

Creates broadcast-independent(BI) interactive application.

open Unit

Destroys broadcast-independent(BI) interactive application.

open Boolean

Dispatch a key event to the next view on the focus path.

open Boolean

Dispatches an unhandled input event to the next receiver.

open TvInteractiveAppView.OnUnhandledInputEventListener?

Gets the OnUnhandledInputEventListener.

open Unit
notifyError(errMsg: String, params: Bundle)

Notifies the corresponding TvInteractiveAppService when there is an error.

open Unit
notifyRecordingScheduled(recordingId: String, requestId: String?)

This is called to notify the corresponding interactive app service when the recording has been scheduled.

open Unit
notifyRecordingStarted(recordingId: String, requestId: String?)

Alerts the related TV interactive app service that a recording has been started.

open Unit

Alerts the TV interactive app that a recording has been stopped.

open Unit

Notifies the corresponding TvInteractiveAppService when time shift current position is changed.

open Unit

Notifies the corresponding TvInteractiveAppService when a time shift android.media.PlaybackParams is set or changed.

open Unit

Notifies the corresponding TvInteractiveAppService when time shift start position is changed.

open Unit

Notifies the corresponding TvInteractiveAppService when time shift status is changed.

open Unit
notifyTvMessage(type: Int, data: Bundle)

This is called to notify the corresponding interactive app service when a new TV message is received.

open Unit

Alerts the TV Interactive app that the video freeze state has been updated.

open Unit

open Unit

open Unit
onLayout(changed: Boolean, left: Int, top: Int, right: Int, bottom: Int)

open Unit
onMeasure(widthMeasureSpec: Int, heightMeasureSpec: Int)

open Boolean

Called when an unhandled input event also has not been handled by the user provided callback.

open Unit
onVisibilityChanged(changedView: View, visibility: Int)

Called when the visibility of the view or an ancestor of the view has changed.

open Unit
prepareInteractiveApp(iAppServiceId: String, type: Int)

Prepares the interactive application runtime environment of corresponding TvInteractiveAppService.

open Unit

Resets this TvInteractiveAppView to release its resources.

open Unit

Resets the interactive application.

open Unit

Sends the available supported playback speeds to the TV interactive app bound to this view.

open Unit
sendCertificate(host: String, port: Int, cert: SslCertificate)

Sends the requested SSL certificate to the TV Interactive App

open Unit

Sends current channel logical channel number (LCN) to related TV interactive app.

open Unit
sendCurrentChannelUri(channelUri: Uri?)

Sends current channel URI to related TV interactive app.

open Unit

Sends current TV input ID to related TV interactive app.

open Unit

Sends current video bounds to related TV interactive app.

open Unit

Sends the currently selected track info to the TV Interactive App in response to a TvInteractiveAppCallback.onRequestSelectedTrackInfo(String) request.

open Unit
sendSigningResult(signingId: String, result: ByteArray)

Sends signing result to related TV interactive app.

open Unit

Sends stream volume to related TV interactive app.

open Unit

Sends the current time shift mode to the TV interactive app bound to this view

open Unit

Sends track info list to related TV interactive app.

open Unit

Sends the requested android.media.tv.TvRecordingInfo.

open Unit

Sends the requested android.media.tv.TvRecordingInfo.

open Unit

Sets the callback to be invoked when an event is dispatched to this TvInteractiveAppView.

open Unit

Sets a listener to be invoked when an input event is not handled by the TV Interactive App.

open Unit

To toggle Digital Teletext Application if there is one in AIT app list.

open Int
setTvView(tvView: TvView?)

Sets the TvInteractiveAppView to receive events from TIS.

open Unit
setZOrderMediaOverlay(isMediaOverlay: Boolean)

Controls whether the TvInteractiveAppView's surface is placed on top of other regular surface views in the window (but still behind the window itself).

open Unit

Controls whether the TvInterActiveAppView's surface is placed on top of its window.

open Unit

Starts the interactive application.

open Unit

Stops the interactive application.

Inherited functions