public interface

LegacyPlayerControlView.ProgressUpdateListener

 androidx.media3.ui.LegacyPlayerControlView.ProgressUpdateListener

Overview

Listener to be notified when progress has been updated.

Summary

Methods
public voidonProgressUpdate(long position, long bufferedPosition)

Called when progress needs to be updated.

Methods

public void onProgressUpdate(long position, long bufferedPosition)

Called when progress needs to be updated.

Parameters:

position: The current position.
bufferedPosition: The current buffered position.