xbmc
Public Types | Public Member Functions | Public Attributes | List of all members
CBookmark Class Reference

Public Types

enum  EType { STANDARD = 0, RESUME = 1, EPISODE = 2 }
 

Public Member Functions

void Reset ()
 
bool IsSet () const
 returns true if this bookmark has been set. More...
 
bool IsPartWay () const
 returns true if this bookmark is part way through the video file More...
 
bool HasSavedPlayerState () const
 returns true if this bookmark has a stored serialized player state More...
 

Public Attributes

double timeInSeconds
 
double totalTimeInSeconds
 
long partNumber
 
std::string thumbNailImage
 
std::string playerState
 
std::string player
 
long seasonNumber
 
long episodeNumber
 
enum CBookmark::EType type
 

Member Function Documentation

◆ HasSavedPlayerState()

bool CBookmark::HasSavedPlayerState ( ) const

returns true if this bookmark has a stored serialized player state

Returns
true if playerState is not empty.

◆ IsPartWay()

bool CBookmark::IsPartWay ( ) const

returns true if this bookmark is part way through the video file

Returns
true if both totalTimeInSeconds and timeInSeconds are positive.

◆ IsSet()

bool CBookmark::IsSet ( ) const

returns true if this bookmark has been set.

Returns
true if totalTimeInSeconds is positive.

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