From: nam <36914158+aferin@users.noreply.github.com> Date: Mon, 29 Apr 2019 08:48:19 +0000 (+0900) Subject: [MediaPlayer] Modify the pre-condition of streaming function (#794) X-Git-Tag: submit/tizen/20190430.005205~1^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=726f01a1a4a88b814ab34b3309442c30738e58b3;p=platform%2Fcore%2Fcsapi%2Ftizenfx.git [MediaPlayer] Modify the pre-condition of streaming function (#794) --- diff --git a/src/Tizen.Multimedia.MediaPlayer/Player/Player.cs b/src/Tizen.Multimedia.MediaPlayer/Player/Player.cs index 4cea9fec0..604044973 100644 --- a/src/Tizen.Multimedia.MediaPlayer/Player/Player.cs +++ b/src/Tizen.Multimedia.MediaPlayer/Player/Player.cs @@ -192,7 +192,8 @@ namespace Tizen.Multimedia /// Gets the streaming download progress. /// /// The containing current download progress. - /// The player must be in the or state. + /// The player must be in the , , + /// or state. /// /// The player is not streaming.
/// -or-
@@ -202,7 +203,7 @@ namespace Tizen.Multimedia /// 3 public DownloadProgress GetDownloadProgress() { - ValidatePlayerState(PlayerState.Playing, PlayerState.Paused); + ValidatePlayerState(PlayerState.Ready, PlayerState.Playing, PlayerState.Paused); int start = 0; int current = 0;