BrightcoveTextureVideoView
BrightcoveTextureVideoView extends the BaseVideoView using a TextureView based RenderView.
Constructors
Functions
Link copied to clipboard
Add all videos in the collection to the end of the list.
Inserts all videos in the collection at the specified index.
Link copied to clipboard
Link copied to clipboard
open fun addOnVideoViewSizeChangedListener(onVideoViewSizeChangedListener: BaseVideoView.OnVideoViewSizeChangedListener)
Link copied to clipboard
For adding subtitle sources to the Brightcove Player.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Disable Generic Stream Concurrency
Link copied to clipboard
Link copied to clipboard
Enable Generic Stream Concurrency Note: Stream Concurrency can only be enable before video playback
Link copied to clipboard
This method finishes initializing the BaseVideoView.
Link copied to clipboard
Returns the analytics component, the part of the player that monitors and tracks video playback and engagement.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Access the Brightcove media controller.
Link copied to clipboard
Link copied to clipboard
fun BaseVideoView.getCalculateSize(width: String?, height: String?): <Error class: unknown class><Int, Int>
getCalculateSize is an extension function that return the correct Sizes from an element taking the BaseVideoView width and height as 100%
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Getter for the EventEmitter used by this View
Link copied to clipboard
Gets the rendered height of the video on the screen.
Link copied to clipboard
Gets the rendered width of the video on the screen.
Link copied to clipboard
Access the legacy media controller.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Returns the video playback controller, the component of the player responsible for managing video playback and emitting cue points.
Link copied to clipboard
Gets refers to the view that will render the video.
Link copied to clipboard
fun BaseVideoView.getScreenLayoutParams(top: String?, left: String?, width: Int? = 0, height: Int? = 0): <Error class: unknown class>?
getScreenLayoutParams is an extension function that get the position (top, left) as a percentage from the API and return the layout parameters taking the BaseVideoView width and height as 100% if it is an image or layout will also receive the width and height to add the sizes
Link copied to clipboard
getScreenSizes() extension function that returns a Pair of height and width to be used in getScreenLayoutParams() and getCalculateSize()
Link copied to clipboard
Link copied to clipboard
Returns the source controller, the component of the player that selects the source to play for a video.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Returns the video display, the low-level component responsible for decoding and rendering a video.
Link copied to clipboard
Link copied to clipboard
Returns the video still display, the component of the player that shows and hides the still image if one is available for a video.
Link copied to clipboard
Link copied to clipboard
Checks whether the application is currently in full-screen mode.
Link copied to clipboard
Link copied to clipboard
Checks whether the device is currently in landscape orientation.
Link copied to clipboard
Link copied to clipboard
Checks whether Generic Stream Concurrency is enabled or not
Link copied to clipboard
jumpTo is an extension function that emit the SEEK_TO event
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun removeOnVideoViewSizeChangedListener(onVideoViewSizeChangedListener: BaseVideoView.OnVideoViewSizeChangedListener)
Link copied to clipboard
Request the current active sessions.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Sets the current video to the specified index.
Link copied to clipboard
Sets the eventEmitter and instantiates all inner components.
Link copied to clipboard
Link copied to clipboard
Establishes a legacy Android media controller to provide media controls.
Establishes the Brightcove media controller to provide a modern set of media controls.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Sets the headers values that will be passed on each request to the Generic Stream Concurrency.
Link copied to clipboard
Sets a listener to get the active sessions
Link copied to clipboard
Sets the locale for a caption source to load, based on the caption locale pulled in.
Link copied to clipboard
Instantiates the Brightcove captioning view.
Link copied to clipboard
Replaces player content with the video at the specified path.
Replace player content with the video and captions at the specified paths.
Link copied to clipboard
Replaces player content with the video at the specified URI.
Link copied to clipboard
Stop playback
Link copied to clipboard
Toggles the BrightcoveMediaController's visibility when one is set.