BaseMediaSurfaceProvider

abstract class BaseMediaSurfaceProvider<Value>(initialValue: Value?)

A MediaSurfaceProvider that grabs a MediaSurface from a given Value

Parameters

Value

the type of value that can be mapped to a MediaSurface

initialValue

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

Inheritors

Constructors

Link copied to clipboard
constructor(initialValue: Value?)

Properties

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

Functions

Link copied to clipboard
fun update(value: Value?)

Updates the Value so that a new MediaSurface will be provided