RDK Documentation (Open Sourced RDK Components)
AdManagerBase.h File Reference

Client side DAI base class, and common data structures. More...

#include "priv_aamp.h"
Include dependency graph for AdManagerBase.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

class  CDAIObject
 Base class for the client side DAI object. More...
 

Enumerations

enum  AdState
 Ad playback states. More...
 

Variables

static constexpr const char * ADSTATE_STR []
 

yes

Client side DAI base class, and common data structures.

Definition in file AdManagerBase.h.

Enumeration Type Documentation

◆ AdState

enum AdState
strong

Ad playback states.

Enumerator
OUTSIDE_ADBREAK 

Not in adbreak, wait for period change

IN_ADBREAK_AD_NOT_PLAYING 

Base period in adbreak: But Ad not found/playing

IN_ADBREAK_AD_PLAYING 

Ad playing

IN_ADBREAK_AD_READY2PLAY 

Ready to play next Ad

IN_ADBREAK_WAIT2CATCHUP 

Waiting for base period to catchup

Definition at line 35 of file AdManagerBase.h.

Variable Documentation

◆ ADSTATE_STR

constexpr const char* ADSTATE_STR[]
staticconstexpr
Initial value:
=
{
(const char *)"OUTSIDE_ADBREAK",
(const char *)"IN_ADBREAK_AD_NOT_PLAYING",
(const char *)"IN_ADBREAK_AD_PLAYING",
(const char *)"IN_ADBREAK_AD_READY2PLAY",
(const char *)"IN_ADBREAK_WAIT2CATCHUP"
}

Definition at line 44 of file AdManagerBase.h.