Skip to main content
Version: 1.1

Listener

interface Listener {
unsubscribe(): void;
}

A Listener object is returned when an application subscribes to intents or context broadcasts via the addIntentListener or addContextListener methods on the DesktopAgent object.

Methods

unsubscribe

unsubscribe(): void;

Allows an application to unsubscribe from listening to intents or context broadcasts.

See also