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:
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:
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.