TIF: add more documentation on Session.onTimeShiftSetPlaybackRate().

Specifies that the playback rate should be preserved after pause/resume
/seek as MediaPlayer does.

Bug: 20129784
Change-Id: Ibdd4145258580127351adcee28022523a862effa
This commit is contained in:
Dongwon Kang
2015-04-23 15:48:10 +09:00
parent 58885cc68e
commit 8b40086449

View File

@@ -883,6 +883,10 @@ public abstract class TvInputService extends Service {
/**
* Called when the application sets playback rate and audio mode.
* <p>
* Once a playback rate is set, the implementation should honor the value until a new tune
* request. Pause/resume/seek request does not reset the playback rate previously set.
* </p>
*
* @param rate The ratio between desired playback rate and normal one.
* @param audioMode Audio playback mode. Must be one of the supported audio modes: