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 IEpgProviderFactory

interface IEpgProviderFactory
Extends com.amazon.apmf.IStandard Factory used to create channel and program lineup providers

Methods

makeChannelLineupProvider()

IChannelLineupProvider* makeChannelLineupProvider()
Creates a provider object for adding a new set of channels to the lineup.

Returns

IChannelLineupProvider* A pointer to the IChannelLineupProvider object created.

Throws


getLastCommittedChannelLineupVersion()

string getLastCommittedChannelLineupVersion()
Gets the version of the most recently committed channel lineup. The channel lineup version can be checked to determine if the last persisted channel data needs to be replaced with a newer version. Please refer to the developer guide for more information on how to use this value. If no lineup has been previously committed, the fixed string “NO_VERSION” will be returned.

Returns

string The version string for the most recent commit of channel data.

Throws

  • InternalError — if there is any issue retrieving the last committed channel lineup version.

makeProgramLineupProvider()

IProgramLineupProvider* makeProgramLineupProvider()
Creates a Provider object for adding a new set of programs to the lineup.

Returns

IProgramLineupProvider* A pointer to the IProgramLineupProvider object created.

Throws


getLastCommittedProgramLineupVersion()

string getLastCommittedProgramLineupVersion()
Gets the version of the most recently committed program lineup. The program lineup version can be checked to determine if the last persisted program data needs to be replaced with a newer version. Please refer to the developer guide for more information on how to use this value. If no lineup has been previously committed, the fixed string “NO_VERSION” will be returned.

Returns

string The version string for the most recent commit of program data.

Throws

  • InternalError — if there is any issue retrieving the last committed program lineup version.

Last modified on October 29, 2026