release

open override fun release()

Releases the player. This method must be called when the player is no longer required. The player must not be used after calling this method.

Release call automatically stop if the player is not in Player.STATE_IDLE.