Amazon Developer

as

Settings
Sign out
Notifications
Alexa
Amazon Appstore
Ring
AWS
Documentation
Support
Contact Us
My Cases
Get Started
Design and Develop
Publish
Reference
Support
Native
Skip to main content

Interface ISubscription

interface ISubscription
Extends IStandard An object that represents a registration of an event listener to receive notifications from an event source. This object can be used to end the delivery of any further events to the listener. The logical subscription is not tied to the lifetime of this object. The listener will continue to receive events until unsubscribe is called or until the event source is destroyed.

Methods

unsubscribe()

void unsubscribe()
Unsubscribes the listener from the event source. Calling this method more than one time has no effect.
Last modified on October 29, 2026