Class FairPlayKeySystemConfiguration.Builder
-
- All Implemented Interfaces:
public final class FairPlayKeySystemConfiguration.BuilderThe builder for the FairPlay key system configuration.
-
-
Constructor Summary
Constructors Constructor Description FairPlayKeySystemConfiguration.Builder(String licenseAcquisitionURL, String certificateURL)
-
Method Summary
Modifier and Type Method Description final <Error class: unknown class>headers(Map<String, String> headers)Sets the map of HTTP headers for the license acquisition request. final <Error class: unknown class>useCredentials(Boolean useCredentials)Sets whether the player is allowed to use credentials for cross-origin requests. final <Error class: unknown class>queryParameters(Map<String, String> queryParameters)Sets the map of query parameters for the license acquisition request. final <Error class: unknown class>integrationParameters(Map<String, Object> integrationParameters)Sets the integration-specific parameters to be used by a ContentProtectionIntegration. final FairPlayKeySystemConfigurationbuild()Builds the FairPlay key system configuration. -
-
Method Detail
-
headers
final <Error class: unknown class> headers(Map<String, String> headers)
Sets the map of HTTP headers for the license acquisition request.
- Parameters:
headers- Map of HTTP headers.
-
useCredentials
final <Error class: unknown class> 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 <Error class: unknown class> 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 <Error class: unknown class> integrationParameters(Map<String, Object> integrationParameters)
Sets the integration-specific parameters to be used by a ContentProtectionIntegration.
-
build
final FairPlayKeySystemConfiguration build()
Builds the FairPlay key system configuration.
-
-
-
-