Interface IEpgProviderFactory
interface IEpgProviderFactory
Extends com.amazon.apmf.IStandard
Factory used to create channel and program lineup providers
Methods
makeChannelLineupProvider()
Creates a provider object for adding a new set of channels to the lineup.IChannelLineupProvider*makeChannelLineupProvider()
Returns
IChannelLineupProvider*
A pointer to the IChannelLineupProvider object created.
Throws
InternalError— if the provider object cannot be created.
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()
Creates a Provider object for adding a new set of programs to the lineup.IProgramLineupProvider*makeProgramLineupProvider()
Returns
IProgramLineupProvider*
A pointer to the IProgramLineupProvider object created.
Throws
InternalError— if the provider object cannot be created.
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.

