Class ConaxDRMConfiguration
-
- All Implemented Interfaces:
public class ConaxDRMConfiguration extends DRMPreIntegrationConfiguration
The configuration of the Conax DRM integration.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classConaxDRMConfiguration.BuilderThe builder for the Conax DRM configuration.
-
Field Summary
Fields Modifier and Type Field Description public final StringdeviceIdpublic final Stringtokenpublic final FairPlayKeySystemConfigurationfairplaypublic final KeySystemConfigurationplayreadypublic final KeySystemConfigurationwidevinepublic final ClearkeyKeySystemConfigurationclearkeypublic final Map<String, Object>integrationParameterspublic final DRMIntegrationIdintegrationpublic final StringcustomIntegrationId
-
Method Summary
Modifier and Type Method Description StringgetDeviceId()The identifier of the Conax Device. StringgetToken()The Conax authorization token. -
Methods inherited from class com.theoplayer.android.api.source.drm.DRMConfiguration
equals, getClearkey, getCustomIntegrationId, getFairplay, getIntegration, getIntegrationParameters, getPlayready, getWidevine, hashCode -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getDeviceId
@NonNull() String getDeviceId()
The identifier of the Conax Device.
- This identifier will be added to the OTT Account. This is done every time the video is started to simplify the example, adding the same device twice will not result in any changes.
- The portal will usually handle adding a device to an account.
- Returns:
The device identifier. (NonNull)
-
getToken
@NonNull() String getToken()
The Conax authorization token.
- This token will be attached when the license request (custom data) is retrieved.
- The token is valid for a limited time and can only be used once.
- Usually this will be a call to the portal that is integrated with Contego.
- Returns:
The authorization token. (NonNull)
-
-
-
-