Home > hls.js > LevelKey > (constructor)

LevelKey.(constructor)

Constructs a new instance of the LevelKey class

Signature:

constructor(method: string, uri: string, format: string, formatversions?: number[], iv?: Uint8Array | null);

Parameters

Parameter Type Description
method string
uri string
format string
formatversions number[] (Optional)
iv Uint8Array | null (Optional)