Class TitaniumDRMConfiguration.Builder
-
- All Implemented Interfaces:
public class TitaniumDRMConfiguration.Builder
The builder for the Titanium DRM configuration.
-
-
Constructor Summary
Constructors Constructor Description TitaniumDRMConfiguration.Builder(String accountName, String customerName, String portalId)
Creates a builder for the Titanium DRM configuration.
-
Method Summary
Modifier and Type Method Description TitaniumDRMConfiguration.Builder
friendlyName(@NonNull() String friendlyName)
Sets the friendly name of the customer. TitaniumDRMConfiguration.Builder
authToken(@NonNull() String authToken)
Sets the authentication token. TitaniumDRMConfiguration.Builder
playready(@NonNull() KeySystemConfiguration playready)
Sets the PlayReady key system configuration. TitaniumDRMConfiguration.Builder
widevine(@NonNull() KeySystemConfiguration widevine)
Sets the Widevine key system configuration. TitaniumDRMConfiguration.Builder
version(@NonNull() String version)
Sets the Titanium version. TitaniumDRMConfiguration
build()
Builds the Titanium DRM configuration. -
-
Constructor Detail
-
TitaniumDRMConfiguration.Builder
TitaniumDRMConfiguration.Builder(String accountName, String customerName, String portalId)
Creates a builder for the Titanium DRM configuration.- Parameters:
accountName
- The account name, see getAccountName for more information.customerName
- The customer name, see getCustomerName for more information.portalId
- The identifier of the portal, see getPortalId for more information.
-
-
Method Detail
-
friendlyName
@NonNull() TitaniumDRMConfiguration.Builder friendlyName(@NonNull() String friendlyName)
Sets the friendly name of the customer.
- Parameters:
friendlyName
- The friendly name of the customer, see getFriendlyName for more information.
-
authToken
@NonNull() TitaniumDRMConfiguration.Builder authToken(@NonNull() String authToken)
Sets the authentication token.
- Parameters:
authToken
- The authentication token, see getAuthToken for more information.
-
playready
@NonNull() TitaniumDRMConfiguration.Builder playready(@NonNull() KeySystemConfiguration playready)
Sets the PlayReady key system configuration.
- Parameters:
playready
- A KeySystemConfiguration representing a Playready integration configuration.
-
widevine
@NonNull() TitaniumDRMConfiguration.Builder widevine(@NonNull() KeySystemConfiguration widevine)
Sets the Widevine key system configuration.
- Parameters:
widevine
- A KeySystemConfiguration representing a Widevine integration configuration.
-
version
@NonNull() TitaniumDRMConfiguration.Builder version(@NonNull() String version)
Sets the Titanium version.
- Parameters:
version
- The titanium version, see getVersion for more information.
-
build
@NonNull() TitaniumDRMConfiguration build()
Builds the Titanium DRM configuration.
-
-
-
-