unsubscribe

Unsubscribes an Observer from a provided list of event types.

Parameters

events

an array of event types to be unsubscribed from.

observer

an Observer

fun unsubscribe(observer: Observer, events: MutableList<String>)

Unsubscribes an Observer from all events.

Parameters

observer

an Observer

fun unsubscribe(observer: Observer)