onMarkAsPlayed

abstract suspend fun onMarkAsPlayed(details: TrackDetails)

Called after the track has been streamed for getMarkAsPlayedDuration milliseconds. This method will not be called if getMarkAsPlayedDuration is null.

Parameters

details

the details of the track that was marked as played.