onSeek method

void onSeek(
  1. int? position,
  2. double offset
)

Override this method to get notifications when a seek operation has finished. This will occur when user finishes scrubbing media. position is position in seconds before seek started. offset is seconds after seek processed.

Implementation

void onSeek(int? position, double offset) {/* user implementation */}