removeMilestoneEventListener

This removes a specific milestone event listener by passing in the instance of it or you can pass in null to remove all the listeners. When .onDestroy is called, all listeners get removed automatically, removing the requirement for developers to manually handle this.

If the listener you are trying to remove does not exist in the list, a warning will be printed in the log.

Since

0.4.0

Parameters

milestoneEventListener

an implementation of MilestoneEventListener which currently exist in the milestoneEventListener list

See also