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<ArrayBuffer> | null, keyId?: string);Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
method |
string | |
|
uri |
string | |
|
format |
string | |
|
formatversions |
number[] |
(Optional) |
|
iv |
Uint8Array<ArrayBuffer> | null |
(Optional) |
|
keyId |
string |
(Optional) |