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 class
DRMTodayConfiguration.Builder
The builder for the DRM Today configuration.
-
Field Summary
Fields Modifier and Type Field Description public final String
token
public final String
userId
public final String
sessionId
public final String
merchant
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
getToken()
The DRM Today authorization token. String
getUserId()
The identifier of the user. String
getSessionId()
The identifier of the session. String
getMerchant()
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.
-
-
-