ContextListener

Listener for context broadcasts. Generated by addContextListener.

Hierarchy

Index

Properties

Properties

handler

handler: function

The handler for when this listener receives a context broadcast.

Type declaration

unsubscribe

unsubscribe: function

Unsubscribe the listener object. We will no longer receive context messages on this handler.

Calling this method has no effect if the listener has already been unsubscribed. To re-subscribe, call addContextListener again to create a new listener object.

Type declaration

    • (): void
    • Returns void