Class ClearkeyKeySystemConfiguration.Builder
-
- All Implemented Interfaces:
public final class ClearkeyKeySystemConfiguration.BuilderThe builder for the ClearKey key system configuration.
-
-
Constructor Summary
Constructors Constructor Description ClearkeyKeySystemConfiguration.Builder(String licenseAcquisitionURL)
-
Method Summary
Modifier and Type Method Description final ClearkeyKeySystemConfiguration.Builderkeys(Array<ClearkeyKeySystemConfiguration.ClearkeyDecryptionKey> keys)Sets the list of decryption keys. final ClearkeyKeySystemConfiguration.Builderheaders(Map<String, String> headers)Sets the map of HTTP headers for the license acquisition request. final ClearkeyKeySystemConfiguration.BuilderuseCredentials(Boolean useCredentials)Sets whether the player is allowed to use credentials for cross-origin requests. final ClearkeyKeySystemConfiguration.BuilderqueryParameters(Map<String, String> queryParameters)Sets the map of query parameters for the license acquisition request. final ClearkeyKeySystemConfiguration.BuilderintegrationParameters(Map<String, Object> integrationParameters)Sets the integration-specific parameters to be used by a ContentProtectionIntegration. final ClearkeyKeySystemConfigurationbuild()Builds the ClearKey key system configuration. -
-
Constructor Detail
-
ClearkeyKeySystemConfiguration.Builder
ClearkeyKeySystemConfiguration.Builder(String licenseAcquisitionURL)
- Parameters:
licenseAcquisitionURL- The license acquisition URL.
-
-
Method Detail
-
keys
final ClearkeyKeySystemConfiguration.Builder keys(Array<ClearkeyKeySystemConfiguration.ClearkeyDecryptionKey> keys)
Sets the list of decryption keys.
- Parameters:
keys- The list of decryption keys.
-
headers
final ClearkeyKeySystemConfiguration.Builder headers(Map<String, String> headers)
Sets the map of HTTP headers for the license acquisition request.
- Parameters:
headers- Map of HTTP headers.
-
useCredentials
final ClearkeyKeySystemConfiguration.Builder useCredentials(Boolean useCredentials)
Sets whether the player is allowed to use credentials for cross-origin requests.
- Parameters:
useCredentials- Whether the player is allowed to use credentials for cross-origin requests.
-
queryParameters
final ClearkeyKeySystemConfiguration.Builder queryParameters(Map<String, String> queryParameters)
Sets the map of query parameters for the license acquisition request.
- Parameters:
queryParameters- Map of query parameters for the license acquisition requests.
-
integrationParameters
final ClearkeyKeySystemConfiguration.Builder integrationParameters(Map<String, Object> integrationParameters)
Sets the integration-specific parameters to be used by a ContentProtectionIntegration.
-
build
final ClearkeyKeySystemConfiguration build()
Builds the ClearKey key system configuration.
-
-
-
-