Class DRMTodayConfiguration.Builder
-
- All Implemented Interfaces:
public 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)Creates a builder for the DRM Today configuration.
-
Method Summary
Modifier and Type Method Description DRMTodayConfiguration.Buildertoken(@NonNull() String token)Sets the DRM Today authorization token. DRMTodayConfiguration.BuilderuserId(@NonNull() String userId)Sets the identifier of the user. DRMTodayConfiguration.BuildersessionId(@NonNull() String sessionId)Sets the identifier of the session. DRMTodayConfiguration.Buildermerchant(@NonNull() String merchant)Sets the identifier of the merchant. 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)
Creates a builder for the DRM Today configuration.- Parameters:
widevine- The configuration of the Widevine key system.
-
-
Method Detail
-
token
@NonNull() DRMTodayConfiguration.Builder token(@NonNull() String token)
Sets the DRM Today authorization token.
- Parameters:
token- The authorization token.
-
userId
@NonNull() DRMTodayConfiguration.Builder userId(@NonNull() String userId)
Sets the identifier of the user.
- Parameters:
userId- The user identifier.
-
sessionId
@NonNull() DRMTodayConfiguration.Builder sessionId(@NonNull() String sessionId)
Sets the identifier of the session.
- Parameters:
sessionId- The session identifier.
-
merchant
@NonNull() DRMTodayConfiguration.Builder merchant(@NonNull() String merchant)
Sets the identifier of the merchant.
- Parameters:
merchant- The merchant identifier.
-
build
@NonNull() DRMTodayConfiguration build()
Builds the DRM Today configuration.
-
-
-
-