Show Menu
TOPICS×

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
This class extends android.app.Application.
Contains code for custom ads.
Contains the interface code required for configuring the feature managers.
Contains helper classes for DRM.
The adapters and item adapters for interface, platform, and reference information. Also includes the FeedAdapterFactory, ContentRenditionInfo, and XMLParserHelper code.
Provides classes for logging locally and remotely.
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.
Contains UI code for the catalog.
Contains UI code for the log.
Contains UI code for the player.
Contains UI code for settings.
Contains general utility classes.
Contains HTTP-specific utility classes.