interface ICmsEntryResolver
package com.turner.top.sdk.common.cms.resolvers
implemented by CmsEntryResolver
The Cms resolver will recursively resolve content play data until it is transformed to a ContentEntryData.
Resolution is done via a map of passed providers. If a provider can't be found for the content play data format, an error will be thrown.
Each resolver is encapsulated to one content entry. That allows config values to be passed on a entry-by-entry basis.
Methods
init (providerMap:CmsProviderMap, config:PlayerConfigCmsData, data:ContentPlayData):ICmsEntryResolver
Initialize the cms entry resolver
Parameters:
providerMap |
|
|---|---|
config |
|
data |
|
Returns:
ICmsEntryResolver
load ():Task
Start resolution of the content play data
Returns a task that will complete when resolution does.
Returns:
Task