RDK Documentation (Open Sourced RDK Components)
CDAIObject Class Reference

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

#include <AdManagerBase.h>

Inheritance diagram for CDAIObject:
Inheritance graph
Collaboration diagram for CDAIObject:
Collaboration graph

Public Member Functions

 CDAIObject (AampLogManager *logObj, PrivateInstanceAAMP *aamp)
 CDAIObject constructor. More...
 
 CDAIObject (const CDAIObject &)=delete
 CDAIObject Copy Constructor.
 
CDAIObjectoperator= (const CDAIObject &)=delete
 CDAIObject assignment operator overloading.
 
virtual ~CDAIObject ()
 CDAIObject destructor.
 
virtual void SetAlternateContents (const std::string &adBreakId, const std::string &adId, const std::string &url, uint64_t startMS=0, uint32_t breakdur=0)
 Setting the alternate contents' (Ads/blackouts) URL. More...
 

Private Attributes

PrivateInstanceAAMPmAamp
 
AampLogManagermLogObj
 

yes

Base class for the client side DAI object.

Definition at line 57 of file AdManagerBase.h.

Constructor & Destructor Documentation

◆ CDAIObject()

CDAIObject::CDAIObject ( AampLogManager logObj,
PrivateInstanceAAMP aamp 
)
inline

CDAIObject constructor.

Parameters
[in]aamp- Pointer to PrivateInstanceAAMP

Definition at line 68 of file AdManagerBase.h.

Member Function Documentation

◆ SetAlternateContents()

virtual void CDAIObject::SetAlternateContents ( const std::string &  adBreakId,
const std::string &  adId,
const std::string &  url,
uint64_t  startMS = 0,
uint32_t  breakdur = 0 
)
inlinevirtual

Setting the alternate contents' (Ads/blackouts) URL.

Parameters
[in]adBreakId- Adbreak's unique identifier.
[in]adId- Individual Ad's id
[in]url- Ad URL
[in]startMS- Ad start time in milliseconds
[in]breakdur- Adbreak's duration in MS

Reimplemented in CDAIObjectMPD.

Definition at line 100 of file AdManagerBase.h.

Field Documentation

◆ mAamp

PrivateInstanceAAMP* CDAIObject::mAamp
private

AAMP player's private instance

Definition at line 60 of file AdManagerBase.h.


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