destroy

abstract fun destroy()

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