The CmsManager is the entry point for resolving content data passed on play.
Given a cms config and content play data, this will attempt to resolve that into a normalized ContentEntryData that can be played.
If resolution can't be done, the task will kick out an error.
Methods
init (?providerMap:CmsProviderMap):ICmsManager
Initialize the cms manager, optionally with specific providers
Parameters:
providerMap |
|
|---|
Returns:
ICmsManager
load (data:ContentPlayData, config:PlayerConfigCmsData):Task
Resolve the content play data into it's playable form
Parameters:
data |
|
|---|---|
config |
|
Returns:
Task