Package com.teamdev.jxbrowser.event
Interface Subscription
public interface Subscription
A subscription returns from
Observable.on(Class, Observer)
to allow unsubscribing.-
Method Summary
Modifier and TypeMethodDescriptionboolean
Returnstrue
if thisSubscription
is currently unsubscribed.void
Stops the receipt of notifications on theObservable
that was registered when thisSubscription
was received.
-
Method Details
-
unsubscribe
void unsubscribe()Stops the receipt of notifications on theObservable
that was registered when thisSubscription
was received. -
isUnsubscribed
boolean isUnsubscribed()Returnstrue
if thisSubscription
is currently unsubscribed.
-