Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8b400864 authored by Dongwon Kang's avatar Dongwon Kang
Browse files

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
parent 58885cc6
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -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: