AVPlayerViewControllerMediaSurfaceProvider

class AVPlayerViewControllerMediaSurfaceProvider(initialViewController: <Error class: unknown class>?) : BaseMediaSurfaceProvider<<Error class: unknown class>>

A BaseMediaSurfaceProvider that attempts to grab the MediaSurface from an AVPlayerViewController

Parameters

initialViewController

the initial AVPlayerViewController or 'null' to provide a MediaSurface for

Constructors

constructor(initialViewController: <Error class: unknown class>?)

Properties

Link copied to clipboard
open val surface: <Error class: unknown class><MediaSurface?>

Functions

Link copied to clipboard
fun update(value: <Error class: unknown class>?)

Updates the Value so that a new MediaSurface will be provided