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 class
ConaxDRMConfiguration.Builder
The builder for the Conax DRM configuration.
-
Field Summary
Fields Modifier and Type Field Description public final String
deviceId
public final String
token
public final FairPlayKeySystemConfiguration
fairplay
public final KeySystemConfiguration
playready
public final KeySystemConfiguration
widevine
public final ClearkeyKeySystemConfiguration
clearkey
public final Map<String, Object>
integrationParameters
public final DRMIntegrationId
integration
public final String
customIntegrationId
-
Method Summary
Modifier and Type Method Description String
getDeviceId()
The identifier of the Conax Device. String
getToken()
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)
-
-
-
-