Reflect ffwd/rew amount of time to UI

PiperOrigin-RevId: 296387837
This commit is contained in:
olly 2020-02-21 09:08:31 +00:00 committed by Oliver Woodman
parent ba58a5217d
commit 995682eca0

View file

@ -140,6 +140,16 @@ public class DefaultControlDispatcher implements ControlDispatcher {
return fastForwardIncrementMs > 0;
}
/** Returns the rewind increment in milliseconds. */
public long getRewindIncrementMs() {
return rewindIncrementMs;
}
/** Returns the fast forward increment in milliseconds. */
public long getFastForwardIncrementMs() {
return fastForwardIncrementMs;
}
/**
* @deprecated Create a new instance instead and pass the new instance to the UI component. This
* makes sure the UI gets updated and is in sync with the new values.