You.i Engine
CYIAbstractVideoPlayer::TrackInfo Struct Reference

Detailed Description

Base definition of player TrackInfo. Only to be used for construction of TrackInfo subtypes.

#include <player/YiAbstractVideoPlayer.h>

Inheritance diagram for CYIAbstractVideoPlayer::TrackInfo:

Public Member Functions

 TrackInfo (uint32_t id)
 
 TrackInfo (uint32_t id, const CYIString &name)
 
 TrackInfo (uint32_t id, const CYIString &name, const CYIString &language)
 

Public Attributes

uint32_t id
 
CYIString name
 
CYIString language
 

Constructor & Destructor Documentation

◆ TrackInfo() [1/3]

CYIAbstractVideoPlayer::TrackInfo::TrackInfo ( uint32_t  id)
inline

◆ TrackInfo() [2/3]

CYIAbstractVideoPlayer::TrackInfo::TrackInfo ( uint32_t  id,
const CYIString name 
)
inline

◆ TrackInfo() [3/3]

CYIAbstractVideoPlayer::TrackInfo::TrackInfo ( uint32_t  id,
const CYIString name,
const CYIString language 
)
inline

Member Data Documentation

◆ id

uint32_t CYIAbstractVideoPlayer::TrackInfo::id

Integer ID used for selection of the track.

◆ language

CYIString CYIAbstractVideoPlayer::TrackInfo::language

Language code used by the track. May be an empty string if not available.

◆ name

CYIString CYIAbstractVideoPlayer::TrackInfo::name

Human-readable name of the track. May be an empty string if the metadata is inaccessible.


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