Class DRMTodayConfiguration
-
- All Implemented Interfaces:
public final class DRMTodayConfiguration extends DRMPreIntegrationConfiguration
The configuration of the DRM Today integration.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classDRMTodayConfiguration.BuilderThe builder for the DRM Today configuration.
-
Field Summary
Fields Modifier and Type Field Description private final Stringtokenprivate final StringuserIdprivate final StringsessionIdprivate final Stringmerchantprivate final KeySystemConfigurationwidevineprivate final KeySystemConfigurationplayreadyprivate final ClearkeyKeySystemConfigurationclearkeyprivate final FairPlayKeySystemConfigurationfairplayprivate final DRMIntegrationIdintegrationprivate final StringcustomIntegrationIdprivate final Map<String, Object>integrationParametersprivate final Map<String, String>queryParametersprivate final BooleanmultiSession
-
Constructor Summary
Constructors Constructor Description DRMTodayConfiguration(String token, String userId, String sessionId, String merchant, KeySystemConfiguration widevine)
-
Method Summary
Modifier and Type Method Description final StringgetToken()The DRM Today authorization token. final StringgetUserId()The identifier of the user. final StringgetSessionId()The identifier of the session. final StringgetMerchant()The identifier of the merchant. -
Methods inherited from class com.theoplayer.android.api.source.drm.DRMConfiguration
copy, equals, getClearkey, getCustomIntegrationId, getFairplay, getIntegration, getIntegrationParameters, getPlayready, getQueryParameters, getWidevine, hashCode, isMultiSession -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
DRMTodayConfiguration
DRMTodayConfiguration(String token, String userId, String sessionId, String merchant, KeySystemConfiguration widevine)
-
-
Method Detail
-
getToken
final String getToken()
The DRM Today authorization token. (Nullable)
This attribute is required when you use the User Authentication Callback flow to make the license request.
-
getUserId
final String getUserId()
The identifier of the user. (Nullable)
This attribute is required when you use the User Authentication Callback flow to make the license request.
-
getSessionId
final String getSessionId()
The identifier of the session. (Nullable)
This attribute is required when you use the User Authentication Callback flow to make the license request.
-
getMerchant
final String getMerchant()
The identifier of the merchant. (Nullable)
This attribute is required when you use the User Authentication Callback flow to make the license request.
-
-
-
-