Class DRMTodayConfiguration.Builder
-
- All Implemented Interfaces:
public final class DRMTodayConfiguration.BuilderThe builder for the DRM Today configuration.
-
-
Constructor Summary
Constructors Constructor Description DRMTodayConfiguration.Builder(String licenseAcquisitionUrl)Creates a builder for the DRM Today configuration. DRMTodayConfiguration.Builder(KeySystemConfiguration widevine)
-
Method Summary
Modifier and Type Method Description final <Error class: unknown class>token(String token)Sets the DRM Today authorization token. final <Error class: unknown class>userId(String userId)Sets the identifier of the user. final <Error class: unknown class>sessionId(String sessionId)Sets the identifier of the session. final <Error class: unknown class>merchant(String merchant)Sets the identifier of the merchant. final DRMTodayConfigurationbuild()Builds the DRM Today configuration. -
-
Constructor Detail
-
DRMTodayConfiguration.Builder
DRMTodayConfiguration.Builder(String licenseAcquisitionUrl)
Creates a builder for the DRM Today configuration.- Parameters:
licenseAcquisitionUrl- The license acquisition URL used for the Widevine key system.
-
DRMTodayConfiguration.Builder
DRMTodayConfiguration.Builder(KeySystemConfiguration widevine)
- Parameters:
widevine- The configuration of the Widevine key system.
-
-
Method Detail
-
token
final <Error class: unknown class> token(String token)
Sets the DRM Today authorization token.
- Parameters:
token- The authorization token.
-
userId
final <Error class: unknown class> userId(String userId)
Sets the identifier of the user.
- Parameters:
userId- The user identifier.
-
sessionId
final <Error class: unknown class> sessionId(String sessionId)
Sets the identifier of the session.
- Parameters:
sessionId- The session identifier.
-
merchant
final <Error class: unknown class> merchant(String merchant)
Sets the identifier of the merchant.
- Parameters:
merchant- The merchant identifier.
-
build
final DRMTodayConfiguration build()
Builds the DRM Today configuration.
-
-
-
-