removeListener

Unregisters a previously registered listener from receiving notifications from AstroPlayer.

This method removes the listener identified by the provided id from the internal list of listeners maintained by AstroPlayer. The id should be the same value that was returned by the corresponding call to addListener for the specific listener you want to unregister.

If the provided id does not match any registered listener, the method silently returns without any effect.

Parameters

id

The integer ID of the listener to be unregistered, as returned by a previous call to addListener.