RDK Documentation (Open Sourced RDK Components)
AdBreakObject Struct Reference

AdBreak's metadata object. More...

#include <admanager_mpd.h>

Collaboration diagram for AdBreakObject:
Collaboration graph

Public Member Functions

 AdBreakObject ()
 AdBreakObject default constructor.
 
 AdBreakObject (uint32_t _duration, std::shared_ptr< std::vector< AdNode >> _ads, std::string _endPeriodId, uint64_t _endPeriodOffset, uint32_t _adsDuration)
 AdBreakObject constructor. More...
 

Data Fields

uint32_t brkDuration
 
std::shared_ptr< std::vector< AdNode > > ads
 
std::string endPeriodId
 
uint64_t endPeriodOffset
 
uint32_t adsDuration
 
bool adjustEndPeriodOffset
 

yes

AdBreak's metadata object.

Definition at line 172 of file admanager_mpd.h.

Constructor & Destructor Documentation

◆ AdBreakObject()

AdBreakObject::AdBreakObject ( uint32_t  _duration,
std::shared_ptr< std::vector< AdNode >>  _ads,
std::string  _endPeriodId,
uint64_t  _endPeriodOffset,
uint32_t  _adsDuration 
)
inline

AdBreakObject constructor.

Parameters
[in]_duration- Adbreak's duration
[in]_ads- Ads in the Adbreak
[in]_endPeriodId- Base period's id after the adbreak playback
[in]_endPeriodOffset- Base period's offset after the adbreak playback
[in]_adsDuration- Ads' duration in the Adbreak

Definition at line 196 of file admanager_mpd.h.

Field Documentation

◆ brkDuration

uint32_t AdBreakObject::brkDuration

Adbreak's duration

Definition at line 173 of file admanager_mpd.h.

◆ ads

std::shared_ptr<std::vector<AdNode> > AdBreakObject::ads

Ads in the Adbreak in sequential order

Definition at line 174 of file admanager_mpd.h.

◆ endPeriodId

std::string AdBreakObject::endPeriodId

Base period's id after the adbreak playback

Definition at line 175 of file admanager_mpd.h.

◆ endPeriodOffset

uint64_t AdBreakObject::endPeriodOffset

Base period's offset after the adbreak playback

Definition at line 176 of file admanager_mpd.h.

◆ adsDuration

uint32_t AdBreakObject::adsDuration

Ads' duration in the Adbreak

Definition at line 177 of file admanager_mpd.h.

◆ adjustEndPeriodOffset

bool AdBreakObject::adjustEndPeriodOffset

endPeriodOffset needs be re-adjusted or not

Definition at line 178 of file admanager_mpd.h.


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