/// <summary> /// Constructor /// </summary> /// <param name="episode">Episode</param> /// <param name="bufferProgress">The buffer progress</param> /// <param name="bandwidthRate">The bandwidth rate</param> /// <param name="playingProgress">The playing progress</param> public PlayShowEpisodeMessage(EpisodeShowJson episode, Progress <double> bufferProgress, Progress <BandwidthRate> bandwidthRate, IProgress <double> playingProgress) { Episode = episode; BufferProgress = bufferProgress; BandwidthRate = bandwidthRate; PlayingProgress = playingProgress; }
/// <summary> /// Constructor /// </summary> /// <param name="episode">Episode</param> /// <param name="bufferProgress">The buffer progress</param> /// <param name="bandwidthRate">The bandwidth rate</param> /// <param name="playingProgress">The playing progress</param> /// <param name="pieceAvailability">The piece availability progress</param> public PlayShowEpisodeMessage(EpisodeShowJson episode, Progress <double> bufferProgress, Progress <BandwidthRate> bandwidthRate, IProgress <double> playingProgress, Progress <PieceAvailability> pieceAvailability) { Episode = episode; BufferProgress = bufferProgress; BandwidthRate = bandwidthRate; PlayingProgress = playingProgress; PieceAvailability = pieceAvailability; }
/// <summary> /// Constructor /// </summary> /// <param name="episode">Episode</param> public DownloadShowEpisodeMessage(EpisodeShowJson episode) { Episode = episode; }
/// <summary> /// Constructor /// </summary> /// <param name="episode">Episode</param> public PlayShowEpisodeMessage(EpisodeShowJson episode) { Episode = episode; }
/// <summary> /// Constructor /// </summary> /// <param name="episode">Episode</param> /// <param name="bufferProgress">The buffer progress</param> public PlayShowEpisodeMessage(EpisodeShowJson episode, Progress <double> bufferProgress) { Episode = episode; BufferProgress = bufferProgress; }