onPlayerEnded property

void Function()? onPlayerEnded
getter/setter pair

Playback end notification.

Available since: 1.0.0 Description: When the user has finished playing the audio file, the notification will be called back. Use case: Used by developers to update the UI. Caution: None.

Implementation

static void Function()? onPlayerEnded;