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
Skip to main content
Your app may have several triggers for live content entitlement. Some examples of these triggers are sign-in, sign-out, or subscription changes. At these points, you can call EpgSyncTaskScheduler methods to schedule your EPG Sync Task. If the customer is no longer entitled to any content, such as when a subscription is cancelled, do the following.
  1. Call ChannelLineupProvider.add([]) + ChannelLineupProvider.commit() and LiveEventProvider.add([]) + LiveEventProvider.commit() to clear the customer’s live content from the system.
  2. Call the cancelScheduledTasks() method to cancel any scheduled EPG sync tasks, since refreshing entitled content is no longer needed.
The following example code demonstrates EpgSyncTaskScheduler usage in your onLogin() and onLogout callbacks.
When your onLogin() callback runs, you should see a log line similar to the following.

Last modified on January 20, 2026