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 android.app.Application. |
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:
|
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. |