removeSingleSubscription

open override fun <T> removeSingleSubscription(subscriber: IEventSubscriber<T>?, eventClass: Class<T>)

Removes a single subscription associated with the given activity and event class. This should be called if you want to selectively unsubscribe from an event, but do not want to remove every subscription for the activity.

Parameters

subscriber

The callback which is currently subscribed.

eventClass

The Event class which this IEventSubscriber is subscribed to.