subscribeSourceAdded

fun ObservableInterface.subscribeSourceAdded(observer: Observer)

Subscribes an Observer for of event type "source-added".

Observable will hold a strong reference to an Observer instance, therefore, in order to stop receiving notifications, caller must call unsubscribe with an Observer instance used for an initial subscription.

Parameters

observer

an Observer