Class KeyOSDRMConfiguration
-
- All Implemented Interfaces:
public class KeyOSDRMConfiguration extends DRMPreIntegrationConfiguration
The configuration of the KeyOS DRM integration.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classKeyOSDRMConfiguration.BuilderThe builder for the KeyOS DRM configuration.
-
Field Summary
Fields Modifier and Type Field Description public final Stringcustomdatapublic final FairPlayKeySystemConfigurationfairplaypublic final KeySystemConfigurationplayreadypublic final KeySystemConfigurationwidevinepublic final ClearkeyKeySystemConfigurationclearkeypublic final Map<String, Object>integrationParameterspublic final DRMIntegrationIdintegrationpublic final StringcustomIntegrationId
-
Method Summary
Modifier and Type Method Description StringgetCustomdata()The custom data for the license acquisition request. KeyOSKeySystemConfigurationgetPlayready()The PlayReady key system configuration. KeyOSKeySystemConfigurationgetWidevine()The Widevine key system configuration. booleanequals(Object o)inthashCode()-
Methods inherited from class com.theoplayer.android.api.source.drm.DRMConfiguration
getClearkey, getCustomIntegrationId, getFairplay, getIntegration, getIntegrationParameters, getPlayready, getWidevine -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getCustomdata
@Nullable() String getCustomdata()
The custom data for the license acquisition request.
- This attribute is required if it is not specified in the separate KeyOSKeySystemConfiguration for Widevine and PlayReady.
- The value of this attribute should be the value of the customData header that you want to send with license requests to the KeyOS license server.
- In most cases this will be the base64 encoded KeyOS authentication XML.
- Returns:
The custom data. (Nullable)
-
getPlayready
@Nullable() KeyOSKeySystemConfiguration getPlayready()
The PlayReady key system configuration.
-
getWidevine
@Nullable() KeyOSKeySystemConfiguration getWidevine()
The Widevine key system configuration.
-
hashCode
int hashCode()
-
-
-
-