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: List<String>)

Unsubscribes an Observer from all events.

Parameters

observer

an Observer

fun unsubscribe(observer: Observer)