Home > hls.js > CaptionScreen > getDisplayText

CaptionScreen.getDisplayText() method

Get all non-empty rows with as unicode text.

Signature:

getDisplayText(asOneRow?: boolean): string;

Parameters

Parameter

Type

Description

asOneRow

boolean

(Optional)

**Returns:**

string