Home Reference Source
import {AttrList} from 'hls.js/src/utils/attr-list.ts'
public class | source

AttrList

Static Method Summary

Static Public Methods
public static

parseAttrList(input: string): Record

Constructor Summary

Public Constructor
public

Member Summary

Public Members
public

[attr]: *

Method Summary

Public Methods
public

bool(attrName: string): boolean

public
public
public

decimalResolution(attrName: string): {"width": *, "height": *}

public

enumeratedString(attrName: string): *

public

hexadecimalInteger(attrName: string): *

public
public

optionalFloat(attrName: string, defaultValue: number): number

Static Public Methods

public static parseAttrList(input: string): Record source

Params:

NameTypeAttributeDescription
input string

Return:

Record

Public Constructors

public constructor() source

Public Members

public [attr]: * source

Public Methods

public bool(attrName: string): boolean source

Params:

NameTypeAttributeDescription
attrName string

Return:

boolean

public decimalFloatingPoint(attrName: string): number source

Params:

NameTypeAttributeDescription
attrName string

Return:

number

public decimalInteger(attrName: string): number source

Params:

NameTypeAttributeDescription
attrName string

Return:

number

public decimalResolution(attrName: string): {"width": *, "height": *} source

Params:

NameTypeAttributeDescription
attrName string

Return:

{"width": *, "height": *}

public enumeratedString(attrName: string): * source

Params:

NameTypeAttributeDescription
attrName string

Return:

*

public hexadecimalInteger(attrName: string): * source

Params:

NameTypeAttributeDescription
attrName string

Return:

*

public hexadecimalIntegerAsNumber(attrName: string): number source

Params:

NameTypeAttributeDescription
attrName string

Return:

number

public optionalFloat(attrName: string, defaultValue: number): number source

Params:

NameTypeAttributeDescription
attrName string
defaultValue number

Return:

number