Home > hls.js > Hls > off

Hls.off() method

Signature:

off<E extends keyof HlsListeners, Context = undefined>(event: E, listener?: HlsListeners[E] | undefined, context?: Context, once?: boolean | undefined): void;

Parameters

Parameter

Type

Description

event

E

listener

HlsListeners[E] | undefined

(Optional)

context

Context

(Optional)

once

boolean | undefined

(Optional)

**Returns:**

void