Class DRMTodayConfiguration
-
- All Implemented Interfaces:
public class DRMTodayConfiguration extends DRMPreIntegrationConfiguration
The configuration of the DRM Today integration.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classDRMTodayConfiguration.BuilderThe builder for the DRM Today configuration.
-
Field Summary
Fields Modifier and Type Field Description public final Stringtokenpublic final StringuserIdpublic final StringsessionIdpublic final Stringmerchantpublic final FairPlayKeySystemConfigurationfairplaypublic final KeySystemConfigurationplayreadypublic final KeySystemConfigurationwidevinepublic final ClearkeyKeySystemConfigurationclearkeypublic final Map<String, Object>integrationParameterspublic final DRMIntegrationIdintegrationpublic final StringcustomIntegrationId
-
Method Summary
Modifier and Type Method Description StringgetToken()The DRM Today authorization token. StringgetUserId()The identifier of the user. StringgetSessionId()The identifier of the session. StringgetMerchant()The identifier of the merchant - This attribute is required when you use the User Authentication Callback flow to make the license request.
-
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
-
getToken
@Nullable() String getToken()
The DRM Today authorization token.
- This attribute is required when you use the User Authentication Callback flow to make the license request.
- Returns:
The authorization token. (Nullable)
-
getUserId
@Nullable() String getUserId()
The identifier of the user.
- This attribute is required when you use the User Authentication Callback flow to make the license request.
- Returns:
The user identifier. (Nullable)
-
getSessionId
@Nullable() String getSessionId()
The identifier of the session.
- This attribute is required when you use the User Authentication Callback flow to make the license request.
- Returns:
The session identifier. (Nullable)
-
getMerchant
@Nullable() String getMerchant()
The identifier of the merchant
- This attribute is required when you use the User Authentication Callback flow to make the license request.
- Returns:
The merchant identifier.
-
-
-