release

abstract 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.