Home Reference Source
import EventHandler from 'hls.js/src/event-handler.ts'
public class | source

EventHandler

Direct Implemented:

Constructor Summary

Public Constructor
public

Member Summary

Public Members
public
public

hls: *

public

Method Summary

Public Methods
public
public
public

onEvent(event: string, data: undefined)

arguments: event (string), data (any)

public
public
public
public
public

Public Constructors

public constructor() source

Public Members

public handledEvents: * source

public hls: * source

public useGenericHandler: boolean source

Public Methods

public destroy() source

public isEventHandler(): * source

Return:

*

public onEvent(event: string, data: undefined) source

arguments: event (string), data (any)

Params:

NameTypeAttributeDescription
event string
data undefined

public onEventGeneric(event: string, data: undefined) source

Params:

NameTypeAttributeDescription
event string
data undefined

public onHandlerDestroyed() source

public onHandlerDestroying() source

public registerListeners() source

public unregisterListeners() source