RDK Documentation (Open Sourced RDK Components)
SubtitleParser Class Referenceabstract

Subtitle parser class. More...

#include <subtitleParser.h>

Inheritance diagram for SubtitleParser:
Inheritance graph
Collaboration diagram for SubtitleParser:
Collaboration graph

Public Member Functions

 SubtitleParser (AampLogManager *logObj, PrivateInstanceAAMP *aamp, SubtitleMimeType type)
 
 SubtitleParser (const SubtitleParser &)=delete
 Copy Constructor.
 
SubtitleParseroperator= (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
 
PrivateInstanceAAMPmAamp
 
AampLogManagermLogObj
 

yes

Subtitle parser class.

This is the base class for a subtitle parser impl in AAMP

Definition at line 52 of file subtitleParser.h.


The documentation for this class was generated from the following file: