RDK Documentation (Open Sourced RDK Components)
ContentGapEvent Class Reference

Class for the Content gap event. More...

#include <AampEvent.h>

Inheritance diagram for ContentGapEvent:
Inheritance graph
Collaboration diagram for ContentGapEvent:
Collaboration graph

Public Member Functions

 ContentGapEvent ()=delete
 
 ContentGapEvent (const ContentGapEvent &)=delete
 
ContentGapEventoperator= (const ContentGapEvent &)=delete
 
 ContentGapEvent (double time, double duration)
 ContentGapEvent Constructor.
 
virtual ~ContentGapEvent ()
 ContentGapEvent Destructor.
 
double getTime () const
 Get Time. More...
 
double getDuration () const
 Get Duration. More...
 
- Public Member Functions inherited from AAMPEventObject
 AAMPEventObject (const AAMPEventObject &)=delete
 Copy constructor disabled. More...
 
AAMPEventObjectoperator= (const AAMPEventObject &)=delete
 assignment operator disabled More...
 
 AAMPEventObject (AAMPEventType type)
 AAMPEventObject Constructor.
 
virtual ~AAMPEventObject ()
 AAMPEvent Destructor.
 
AAMPEventType getType () const
 Get Event Type. More...
 

Private Attributes

double mTime
 
double mDuration
 

yes

Class for the Content gap event.

Definition at line 1961 of file AampEvent.h.

Constructor & Destructor Documentation

◆ ContentGapEvent()

ContentGapEvent::ContentGapEvent ( )
delete
Parameters
[in]time- Time of event
[in]duration- Duration of event

Member Function Documentation

◆ getTime()

ContentGapEvent::getTime ( ) const

Get Time.

Returns
Time of the ContentGap

Definition at line 1390 of file AampEvent.cpp.

◆ getDuration()

ContentGapEvent::getDuration ( ) const

Get Duration.

Returns
Duration (in MS) of the ContentGap

Definition at line 1400 of file AampEvent.cpp.

Field Documentation

◆ mTime

double ContentGapEvent::mTime
private

Playback position in MS- relative to tune time - starts at zero

Definition at line 1963 of file AampEvent.h.

◆ mDuration

double ContentGapEvent::mDuration
private

Duration of the timed event in MS

Definition at line 1964 of file AampEvent.h.


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