initialize

open fun initialize(emitter: EventEmitter, baseVideoView: BaseVideoView)

Initializes the CaptionsView with the given EventEmitter and BaseVideoView.

Parameters

emitter

the desired EventEmitter

baseVideoView

the BaseVideoView to hook up to


open fun initialize(emitter: EventEmitter)

Deprecated

Initializes the CaptionsView with the given EventEmitter.

Deprecated

Please use the initiliaze(EventEmitter, BaseVideoView) method instead.

Parameters

emitter

the desired EventEmitter