destroy

abstract fun destroy()

Destroys the player and stops the active playback session and most internal work. To release all allocated resources, all references to the player instance must be removed. The player instance must not be used after calling this method.