You.i Solution Accelerator: UpNextView Class Reference

An "Up Next" view is used to display to the user which asset will be automatically played after the current asset ends. More... An "Up Next" view is used to display to the user which asset will be automatically played after the current asset ends.

An "Up Next" view is used to display to the user which asset will be automatically played after the current asset ends. More...

Inheritance graph [legend]
 UpNextView ()
 
virtual ~UpNextView ()
 
virtual bool Init ()
 
void Display (YI_UINT64 uDisplayDurationMs=0)
 Display the "Up Next" view, with a countdown timer starting at uDisplayDurationMs milliseconds. More...
 
void UpdateRemainingTime (YI_UINT64 uRemainingTimeMs=0)
 Update the remaining time countdown timer if it is currently visible. More...
 
void Dismiss ()
 Dismiss the "Up Next" view. More...
 
bool IsVisible () const
 

An "Up Next" view is used to display to the user which asset will be automatically played after the current asset ends.

The view allows the user to skip directly to the next asset. The view also includes a timer displaying how much time remains before the next asset is automatically played.

NoteThe amount of time before the stream end when the "Up Next" view is visible can be configured using IPlayerInformation::SetUpNextToastDurationMs.
UpNextView::UpNextView()
virtual UpNextView::~UpNextView()
virtual
void UpNextView::Dismiss()

Dismiss the "Up Next" view.

void UpNextView::Display(YI_UINT64 uDisplayDurationMs = 0)

Display the "Up Next" view, with a countdown timer starting at uDisplayDurationMs milliseconds.

virtual bool UpNextView::Init()
virtual

Builds and finds the internal view components for the view.

bool UpNextView::IsVisible()const

Returns true if the "Up Next" view is currently being displayed, false otherwise.

void UpNextView::OnAnimationEnded(CYIAnimationToggleController::STATE eState)
private
void UpNextView::UpdateLabel(YI_UINT64 uRemainingTimeMs = 0)
private
void UpNextView::UpdateRemainingTime(YI_UINT64 uRemainingTimeMs = 0)

Update the remaining time countdown timer if it is currently visible.

bool UpNextView::m_bUpNextTagVisible
private
CYITextSceneNode* UpNextView::m_pUpNextLabel
private
CYIAnimationToggleController UpNextView::m_showHideTagToggleController
private
CYISignal UpNextView::PlayUpNextButtonPressed

Emitted when the user has pressed the Play/Skip button.

The documentation for this class was generated from the following file:
  • /media/build/Data/sharedspace/YouiEngineOne/youi_accelerator/dist/include/player/UpNextView.h

ncG1vNJzZmirY2Ourq3ZqKWar6NjsLC5jrKmrqFdqb%2Bitc2ipaBndKTFurPEp2Kvp5yquqa%2Fjm1lcWZgZK6kr8SlnKuZpKS%2FoK3PomahrJ2hfKS4wKyqjqh%2BmsW1osiermegpKK5

 Share!