BrightcoveClosedCaptioningSurfaceView

Constructors

Link copied to clipboard
constructor(context: Context)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open val videoHeight: Int
Link copied to clipboard
open val videoWidth: Int

Functions

Link copied to clipboard
open fun getBaseHolder(): SurfaceHolder
Link copied to clipboard
abstract fun getContext(): Context
Link copied to clipboard
abstract fun getHeight(): Int
Link copied to clipboard
open fun getHolder(): SurfaceHolder
Link copied to clipboard
abstract fun getLayoutParams(): LayoutParams
Link copied to clipboard
abstract fun getMeasuredHeight(): Int
Link copied to clipboard
abstract fun getParent(): ViewParent
Link copied to clipboard
open fun getSurface(): Surface
Link copied to clipboard
abstract fun getVisibility(): Int
Link copied to clipboard
abstract fun getWidth(): Int
Link copied to clipboard
abstract fun invalidate()
Link copied to clipboard
abstract fun isShown(): Boolean
Link copied to clipboard
Link copied to clipboard
Whether 360/VR video is supported.
Link copied to clipboard
open fun isVrMode(): Boolean
Checks whether the surface is currently configured to render the video in Google VR mode.
Link copied to clipboard
open fun onFrameAvailable(surfaceTexture: SurfaceTexture)
Callback method used to get the Surface Texture for 360 videos
Link copied to clipboard
open fun release()
Link copied to clipboard
abstract fun setLayoutParams(layoutParams: LayoutParams)
Link copied to clipboard
open fun setOnFrameAvailableListener(onFrameAvailableListener: OnFrameAvailableListener)
Link copied to clipboard
open fun setSurface(surface: Surface)
Link copied to clipboard
open fun setVideoSize(videoWidth: Int, videoHeight: Int)
Link copied to clipboard
abstract fun setVisibility(visibility: Int)
Link copied to clipboard
open fun setVrMode(vrMode: Boolean)
Sets whether the surface should render the video in Google VR mode.
Link copied to clipboard
open fun zoomIn()
Updates the surface to apply a zoom in effect.
Link copied to clipboard
open fun zoomOut()
Updates the surface to apply a zoom out effect.