Class IrdetoConfiguration.Builder
-
- All Implemented Interfaces:
public class IrdetoConfiguration.Builder
The builder for the Irdeto DRM configuration.
-
-
Constructor Summary
Constructors Constructor Description IrdetoConfiguration.Builder(String licenseAcquisitionUrl)
Creates a builder for the Irdeto DRM configuration. IrdetoConfiguration.Builder(KeySystemConfiguration widevine)
Creates a builder for the Irdeto DRM configuration.
-
Method Summary
Modifier and Type Method Description IrdetoConfiguration.Builder
crmId(@NonNull() String crmId)
Sets the identifier of the CRM. IrdetoConfiguration.Builder
accountId(@NonNull() String accountId)
Sets the identifier of the Irdeto account. IrdetoConfiguration.Builder
sessionId(@NonNull() String sessionId)
Sets the identifier of the session. IrdetoConfiguration.Builder
contentId(@NonNull() String contentId)
Sets the identifier of the content. IrdetoConfiguration.Builder
ticket(@NonNull() String ticket)
Sets the ticket for registered user flows. IrdetoConfiguration
build()
Builds the Irdeto DRM configuration. -
-
Constructor Detail
-
IrdetoConfiguration.Builder
IrdetoConfiguration.Builder(String licenseAcquisitionUrl)
Creates a builder for the Irdeto DRM configuration.- Parameters:
licenseAcquisitionUrl
- The license acquisition URL which will be used for Widevine key system.
-
IrdetoConfiguration.Builder
IrdetoConfiguration.Builder(KeySystemConfiguration widevine)
Creates a builder for the Irdeto DRM configuration.- Parameters:
widevine
- The Widevine key system.
-
-
Method Detail
-
crmId
@NonNull() IrdetoConfiguration.Builder crmId(@NonNull() String crmId)
Sets the identifier of the CRM.
- Parameters:
crmId
- The identifier of the CRM.
-
accountId
@NonNull() IrdetoConfiguration.Builder accountId(@NonNull() String accountId)
Sets the identifier of the Irdeto account.
- Parameters:
accountId
- The Irdeto account identifier.
-
sessionId
@NonNull() IrdetoConfiguration.Builder sessionId(@NonNull() String sessionId)
Sets the identifier of the session.
- Parameters:
sessionId
- The session identifier.
-
contentId
@NonNull() IrdetoConfiguration.Builder contentId(@NonNull() String contentId)
Sets the identifier of the content.
- Parameters:
contentId
- The content identifier.
-
ticket
@NonNull() IrdetoConfiguration.Builder ticket(@NonNull() String ticket)
Sets the ticket for registered user flows.
- Parameters:
ticket
- The ticket.
-
build
@NonNull() IrdetoConfiguration build()
Builds the Irdeto DRM configuration.
-
-
-
-