mirror of
https://github.com/samsonjs/media.git
synced 2026-03-26 09:35:47 +00:00
Reflect ffwd/rew amount of time to UI
PiperOrigin-RevId: 296387837
This commit is contained in:
parent
ba58a5217d
commit
995682eca0
1 changed files with 10 additions and 0 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Reference in a new issue