You.i Engine
YiClientPlayer.h
Go to the documentation of this file.
1 #ifndef _YI_CLIENT_PLAYER_H_
2 #define _YI_CLIENT_PLAYER_H_
3 
6 #include <utility/YiString.h>
7 
8 #include <map>
9 
15 namespace CYIClientPlayer
16 {
21 {
22  ContentDrawerAnimations(const CYIString &drawerInAnimationName, const CYIString &drawerOutAnimationName)
23  : drawerInAnimation(drawerInAnimationName)
24  , drawerOutAnimation(drawerOutAnimationName)
25  {
26  }
29 };
30 
35 {
37  uint64_t durationInMilliSeconds = 0;
38  uint64_t currentTimeInMilliSeconds = 0;
39 };
40 
45 {
46  std::vector<CYIAbstractVideoPlayer::AudioTrackInfo> audioTracks;
47  std::vector<CYIString> audioTrackClientNames;
49 
50  std::vector<CYIAbstractVideoPlayer::ClosedCaptionsTrackInfo> ccTracks;
51  std::vector<CYIString> ccTrackClientNames;
53 };
54 
59 {
62 };
63 
64 bool ParseBookmarkInfoFromJson(BookmarkInfo *pInfo, const yi::rapidjson::Value *pValue);
65 bool ParseSeekableRangeFromJson(uint64_t *pStartMs, uint64_t *pEndMs, const yi::rapidjson::Value *pValue);
66 bool ParseSettingsInfoFromJson(SettingsInfo *pInfo, const yi::rapidjson::Value *pValue);
67 
68 }; // namespace CYIClientPlayer
69 
72 #endif
Structure identifying the recently played session information if it&#39;s available.
Definition: YiClientPlayer.h:58
std::vector< CYIString > audioTrackClientNames
Definition: YiClientPlayer.h:47
Container class for Unicode strings. Conceptually, a CYIString object is a sequence of Unicode charac...
Definition: YiString.h:32
CYIString assetId
Definition: YiClientPlayer.h:36
std::vector< CYIString > ccTrackClientNames
Definition: YiClientPlayer.h:51
static uint32_t DEFAULT_TRACK_ID
Definition: YiAbstractVideoPlayer.h:208
bool ParseSettingsInfoFromJson(SettingsInfo *pInfo, const yi::rapidjson::Value *pValue)
Structure identifying the video content drawer animation names for In and Out.
Definition: YiClientPlayer.h:20
SettingsInfo settings
Definition: YiClientPlayer.h:61
Structure identifying the recently played bookmark information if it&#39;s available. ...
Definition: YiClientPlayer.h:34
bool ParseBookmarkInfoFromJson(BookmarkInfo *pInfo, const yi::rapidjson::Value *pValue)
static uint32_t OFF_TRACK_ID
Definition: YiAbstractVideoPlayer.h:232
ContentDrawerAnimations(const CYIString &drawerInAnimationName, const CYIString &drawerOutAnimationName)
Definition: YiClientPlayer.h:22
CYIString drawerOutAnimation
Definition: YiClientPlayer.h:28
std::vector< CYIAbstractVideoPlayer::AudioTrackInfo > audioTracks
Definition: YiClientPlayer.h:46
Structure identifying the recently played settings information if it&#39;s available. ...
Definition: YiClientPlayer.h:44
std::vector< CYIAbstractVideoPlayer::ClosedCaptionsTrackInfo > ccTracks
Definition: YiClientPlayer.h:50
CYIString drawerInAnimation
Definition: YiClientPlayer.h:27
bool ParseSeekableRangeFromJson(uint64_t *pStartMs, uint64_t *pEndMs, const yi::rapidjson::Value *pValue)
Definition: YiClientPlayer.h:15
BookmarkInfo bookmark
Definition: YiClientPlayer.h:60