Reference implementation structure

The feature managers serve as wrappers around the TVSDK library.

In Java, classes are structured in a hierarchy. For example, all the UI-related code under com.adobe.primetime.reference.ui and all the feature managers are under com.adobe.primetime.reference.manager.

The Primetime reference implementation contains the following packages:

Package Description
com.adobe.primetime.reference This class extends
com.adobe.primetime.reference.advertising Contains code for custom ads.
com.adobe.primetime.reference.config Contains the interface code required for configuring the feature managers.
com.adobe.primetime.reference.drm Contains helper classes for DRM.
com.adobe.primetime.reference.feeds The adapters and item adapters for interface, platform, and reference information. Also includes the FeedAdapterFactory, ContentRenditionInfo, and XMLParserHelper code.
com.adobe.primetime.reference.logging Provides classes for logging locally and remotely.
com.adobe.primetime.reference.manager This is where you can find the feature managers as well as the ManagerFactory. For optional features that you can enable or disable, there are two feature managers:
  • One feature manager that is the name of the feature, for example, CCManager. This feature manager is turned off and provides the default off behavior.
  • One feature manager that has On appended to the feature manager name, for example, CCManagerOn. This feature manager provides sample code for the enabled feature.
com.adobe.primetime.reference.ui.catalog Contains UI code for the catalog.
com.adobe.primetime.reference.ui.log Contains UI code for the log.
com.adobe.primetime.reference.ui.player Contains UI code for the player.
com.adobe.primetime.reference.ui.settings Contains UI code for settings.
com.adobe.primetime.reference.utils Contains general utility classes.
com.adobe.primetime.reference.utils.http Contains HTTP-specific utility classes.

On this page