getMarkAsPlayedDuration

abstract suspend fun getMarkAsPlayedDuration(details: TrackDetails): Long?

The duration in milliseconds after which the track should be marked as played (defaults to null). If null, the onMarkAsPlayed method will not be called.

If you want a percentage of the song, you can calculate it based on the track's duration in onTrackChanged