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

EventHandler

Constructor Summary

Public Constructor
public

Member Summary

Public Members
public
public

hls: *

public

Method Summary

Public Methods
public
public
public

onEvent(event: *, data: *)

arguments: event (string), data (any)

public

onEventGeneric(event: *, data: *)

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: *, data: *) source

arguments: event (string), data (any)

Params:

NameTypeAttributeDescription
event *
data *

public onEventGeneric(event: *, data: *) source

Params:

NameTypeAttributeDescription
event *
data *

public onHandlerDestroyed() source

public onHandlerDestroying() source

public registerListeners() source

public unregisterListeners() source