VideoController class

VideoController class is used to communicate between the app and the host client during the video capture flow

Extends

MediaController<VideoControllerCallback>

Constructors

VideoController(VideoControllerCallback)

Methods

notifyEventToApp(MediaControllerEvent)

Notify or send an event related to the playback and control of video content to a registered application.

Inherited Methods

stop(errorCallbackFunctionType)

Function to programatically stop the ongoing media event Optional;

Constructor Details

VideoController(VideoControllerCallback)

new VideoController(controllerCallback?: VideoControllerCallback)

Parameters

controllerCallback
VideoControllerCallback

Method Details

notifyEventToApp(MediaControllerEvent)

Notify or send an event related to the playback and control of video content to a registered application.

function notifyEventToApp(mediaEvent: MediaControllerEvent)

Parameters

Inherited Method Details

stop(errorCallbackFunctionType)

Function to programatically stop the ongoing media event Optional;

function stop(callback?: errorCallbackFunctionType)

Parameters

callback
errorCallbackFunctionType

is used to send app if host client has successfully stopped the event or not

Inherited From MediaController.stop