CLAMP_TO_RANGE

Calls to any SyncMediaPlayer seek method will clamp the timeline position to be within the range. Seeking to a position after the range clamps the position to range.end. Seeking to a position before the range clamps the position to range.start.

Note that if the SyncMediaPlayer is attached to a ReaderView, the playback range will still be removed if the ReaderView is navigated so that playback range no longer intersects with the ReaderView's reading position.

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
fun serialize(generator: JsonGenerator)