Handle relative and absolute seek requests from a media UI. More...
Public Member Functions | |
| None | request_rewind (self, float seconds) |
| Request a backward seek from the current position. | |
| None | request_forward (self, float seconds) |
| Request a forward seek from the current position. | |
| None | request_seek (self, float position_s) |
| Request an absolute position in the current media item. | |
Handle relative and absolute seek requests from a media UI.
| None ui.media.seek_request_handler_if.SeekRequestHandlerIf.request_forward | ( | self, | |
| float | seconds | ||
| ) |
Request a forward seek from the current position.
| seconds | Non-negative number of seconds to advance. |
Reimplemented in spotify.spotify_media_presenter.SpotifyMediaPresenter, spotify.spotify_state_service.SpotifyStateService, and ui.media.seek_request_handler_stub.SeekRequestHandlerStub.
| None ui.media.seek_request_handler_if.SeekRequestHandlerIf.request_rewind | ( | self, | |
| float | seconds | ||
| ) |
Request a backward seek from the current position.
| seconds | Non-negative number of seconds to rewind. |
Reimplemented in spotify.spotify_media_presenter.SpotifyMediaPresenter, spotify.spotify_state_service.SpotifyStateService, and ui.media.seek_request_handler_stub.SeekRequestHandlerStub.
| None ui.media.seek_request_handler_if.SeekRequestHandlerIf.request_seek | ( | self, | |
| float | position_s | ||
| ) |
Request an absolute position in the current media item.
| position_s | Zero-based playback position in seconds. |
Reimplemented in spotify.spotify_media_presenter.SpotifyMediaPresenter, spotify.spotify_state_service.SpotifyStateService, and ui.media.seek_request_handler_stub.SeekRequestHandlerStub.