setLooping

abstract fun setLooping(looping: Boolean)

Enables or disables single-item looping. While looping the player never reaches the ENDED state — it seeks back to the start and keeps playing.