Method | Description | |
---|---|---|
ChangeConditions ( ) : void | ||
ClosePlayer ( ) : void |
Closes the video player.
|
|
ConfigurePlayer ( ) : void |
Enable/Disable SVP and madVR if necessary.
|
|
GetElementCategoriesAsync ( ) : Task
|
Loads the list of rating categories for the Elements combobox.
|
|
GetFocusCategories ( ) : List |
Loads the list of rating categories for the Elements combobox.
|
|
GetMediaObject ( string fileName ) : |
||
GetNextVideoDownloading ( ) : Business.DownloadItem |
If the next video is still downloading, returns its download information.
|
|
IsSpecialMode ( ) : bool | ||
PauseSession ( ) : void | ||
PlayerBusiness ( ) : System |
Initializes a new instance of the PlayerBusiness class.
|
|
PlayerBusiness ( IMediaPlayerBusiness player ) : System | ||
ReloadVideoInfo ( ) : void | ||
ReplayLastAsync ( ) : Task | ||
ResetPlayerMode ( ) : void | ||
ResumeSession ( ) : void | ||
RunPlayerAsync ( string fileName ) : Task |
Starts the video player.
|
|
SelectNextVideoAsync ( int queuePos, bool maintainCurrent ) : Task |
Selects which video will be played next.
|
|
SetFunPauseAsync ( bool enabled ) : Task |
Sets the next videos to egoless pause.
|
|
SetNextVideoFileAsync ( PlayerMode mode, string fileName ) : Task |
Manually sets the next video in queue.
|
|
SetNextVideoIdAsync ( PlayerMode mode, System.Guid videoId ) : Task |
Manually sets the next video in queue.
|
|
SetNextVideoOptionAsync ( |
||
SetPlayer ( IMediaPlayerBusiness player ) : void |
Uses specified player business object to play the session.
|
|
SetRequestCategoryAsync ( |
Apply specified search and rating category filters to the next videos.
|
|
SetWaterVideosAsync ( bool enabled ) : Task |
Sets the next videos to water videos for cool down.
|
|
SkipVideoAsync ( ) : Task |
Method | Description | |
---|---|---|
CancelNextDownload ( |
Cancels the download and autoplay of specified video.
|
|
Download_Complete ( object sender, |
Occurs when download is completed.
|
|
PlayNextVideoAsync ( ) : Task |
Plays the next video.
|
|
PrepareNextVideoAsync ( int queuePos, int attempts ) : Task |
Prepares for playing the next video.
|
|
SelectNextVideoAsync ( int queuePos, bool maintainCurrent, int attempts ) : Task |
Selects which video will be played next.
|
|
SetNextVideoAsync ( PlayerMode mode, |
||
player_NowPlaying ( object sender, |
When the player is playing a file, start the timer and notify the UI.
|
|
player_Pause ( object sender, |
When the player stops, stop the timer and notify the UI.
|
|
player_PlayNext ( object sender, |
When the player finishes playing a video, select the next video.
|
|
player_Resume ( object sender, |
When the player resumes, start the timer and notify the UI.
|
|
sessionTimer_Tick ( object sender, |
When the play timer is updated, notify the UI.
|
|
timerChangeConditions_Tick ( object sender, |
After conditions were changed, ensure the next video still matches conditions.
|
public GetMediaObject ( string fileName ) : |
||
fileName | string | |
return |
public GetNextVideoDownloading ( ) : Business.DownloadItem | ||
return | Business.DownloadItem |
public PlayerBusiness ( IMediaPlayerBusiness player ) : System | ||
player | IMediaPlayerBusiness | |
return | System |
public RunPlayerAsync ( string fileName ) : Task | ||
fileName | string | |
return | Task |
public SelectNextVideoAsync ( int queuePos, bool maintainCurrent ) : Task |
||
queuePos | int | The video position to select. 0 for current, 1 for next. |
maintainCurrent | bool | True to keep the next video and only select alternate options, false to change next video. |
return | Task |
public SetFunPauseAsync ( bool enabled ) : Task | ||
enabled | bool | True to enable this mode, false to restore normal session. |
return | Task |
public SetNextVideoFileAsync ( PlayerMode mode, string fileName ) : Task | ||
mode | PlayerMode | |
fileName | string | The name of the file to play. |
return | Task |
public SetNextVideoIdAsync ( PlayerMode mode, System.Guid videoId ) : Task | ||
mode | PlayerMode | |
videoId | System.Guid | The ID of the video play next. |
return | Task |
public SetNextVideoOptionAsync ( |
||
video | ||
return | Task |
public SetPlayer ( IMediaPlayerBusiness player ) : void | ||
player | IMediaPlayerBusiness | The player business object through which to play the session. |
return | void |
public SetRequestCategoryAsync ( |
||
request | The search filters being requested, or null to disable the request category mode. | |
return | Task |
public SetWaterVideosAsync ( bool enabled ) : Task | ||
enabled | bool | True to enable this mode, false to restore normal session. |
return | Task |