RDK Documentation (Open Sourced RDK Components)
|
Subtitle parser class. More...
#include <subtitleParser.h>
Public Member Functions | |
SubtitleParser (AampLogManager *logObj, PrivateInstanceAAMP *aamp, SubtitleMimeType type) | |
SubtitleParser (const SubtitleParser &)=delete | |
Copy Constructor. | |
SubtitleParser & | operator= (const SubtitleParser &)=delete |
Assignment operator Overloading. | |
virtual bool | init (double startPosSeconds, unsigned long long basePTS) |
virtual bool | processData (char *buffer, size_t bufferLen, double position, double duration)=0 |
virtual bool | close ()=0 |
virtual void | reset ()=0 |
virtual void | setProgressEventOffset (double offset)=0 |
virtual void | updateTimestamp (unsigned long long positionMs)=0 |
virtual void | pause (bool pause) |
virtual void | mute (bool mute) |
virtual void | isLinear (bool isLinear) |
virtual void | setTextStyle (const std::string &options) |
Protected Attributes | |
SubtitleMimeType | mType |
PrivateInstanceAAMP * | mAamp |
AampLogManager * | mLogObj |
Subtitle parser class.
This is the base class for a subtitle parser impl in AAMP
Definition at line 52 of file subtitleParser.h.