public abstract class THEOplayerGlobal extends Object
THEOplayerView
.Constructor and Description |
---|
THEOplayerGlobal() |
Modifier and Type | Method and Description |
---|---|
abstract Cache |
getCache()
The cache.
|
static THEOplayerGlobal |
getSharedInstance(Context context)
A THEOplayerGlobal instance.
|
abstract SslSettings |
getSsl()
The settings of the Secure Socket Layer.
|
abstract WebViewSettings |
getWebViewSettings()
The settings of the webview.
|
abstract void |
registerContentProtectionIntegration(String integrationId,
KeySystemId keySystemId,
ContentProtectionIntegrationFactory integrationFactory)
Register a ContentProtectionIntegrationFactory for a specific integration id and a specific
keySystem.
|
abstract void |
setApplicationInstance(Application application)
Sets the Application instance.
|
public static THEOplayerGlobal getSharedInstance(Context context)
context
- The Activity context. (NonNull)public abstract Cache getCache()
- Only available with feature 'cache'. - Will return null if the 'cache' feature is not enabled.
public abstract SslSettings getSsl()
public abstract WebViewSettings getWebViewSettings()
public abstract void setApplicationInstance(Application application)
application
- The reference to the Application. (NonNull)public abstract void registerContentProtectionIntegration(String integrationId, KeySystemId keySystemId, ContentProtectionIntegrationFactory integrationFactory)
integrationId
- The name of the integration which is being defined. The combination of
a integrationId and a keySystem should be unique. If new integration
are registered with overlapping IDs, they will overwrite a previously
installed integration while reporting a warning.keySystemId
- The name of the DRM key system to be used.integrationFactory
- The factory to get an implementation of ContentProtectionIntegration.