onPlayerProgress property

(void Function(int currentDuration)?) onPlayerProgress
getter/setter pair

Playback progress callback.

Available since: 1.0.0 Description: When playback has started, the SDK will call back progress notifications every 500ms. Use case: Used by developers to update the UI. Caution: None.

  • currentDuration Current playing duration in milliseconds

Implementation

static void Function(int currentDuration)? onPlayerProgress;