abstractnew GoBrain.Pdk.Parsers.Subtitle.Base()
GoBrain.Pdk/src/parsers/subtitle/base.js, line 1
Subtitle parser base class.
Subtitle parser base class. All subtitle parsers used by the framework must inherit from this base class.
Properties:
Name | Type | Description |
---|---|---|
Utils |
GoBrain.Pdk.Parsers.Subtitle.Base~Utils |
Extends
Classes
Methods
-
createCue(start, end, text){VTTCue}
GoBrain.Pdk/src/parsers/subtitle/base.js, line 73 -
Name Type Description start
Number Cue start time.
end
Number Cue end time.
text
Number Cue text.
Returns:
Type Description VTTCue -
inherited abstractparse(){*}
GoBrain.Pdk/src/interfaces/iparser.js, line 11Parse function.
-
Parse function.
Returns:
Type Description *