close

open override fun close()

Releases the player manually to free the resources and memory it occupies.

Since CypressMediaPlayer is a singleton, you should call this method to release the player explicitly when it is no longer needed.