public static class FairPlayKeySystemConfiguration.Builder extends Object
Modifier and Type | Method and Description |
---|---|
FairPlayKeySystemConfiguration |
build()
Builds the FairPlay key system configuration.
|
static FairPlayKeySystemConfiguration.Builder |
fairPlayKeySystemConfiguration(String licenseAcquisitionURL,
String certificateURL)
Creates a builder for the FairPlay key system configuration.
|
FairPlayKeySystemConfiguration.Builder |
headers(Map<String,String> headers)
Sets the map of HTTP headers for the license acquisition request.
|
FairPlayKeySystemConfiguration.Builder |
queryParameters(Map<String,String> queryParameters)
Sets the map of query parameters for the license acquisition request.
|
FairPlayKeySystemConfiguration.Builder |
useCredentials(boolean useCredentials)
Sets whether the player is allowed to use credentials for cross-origin requests.
|
public static FairPlayKeySystemConfiguration.Builder fairPlayKeySystemConfiguration(String licenseAcquisitionURL, String certificateURL)
licenseAcquisitionURL
- The license acquisition URL. (NonNull)certificateURL
- The URL of the certificate. (NonNull)public FairPlayKeySystemConfiguration.Builder headers(Map<String,String> headers)
headers
- Map of HTTP headers. (NonNull)public FairPlayKeySystemConfiguration.Builder useCredentials(boolean useCredentials)
useCredentials
- Whether the player is allowed to use credentials for cross-origin requests.public FairPlayKeySystemConfiguration.Builder queryParameters(Map<String,String> queryParameters)
queryParameters
- Map of query parameters for the license acquisition requests. (NonNull)public FairPlayKeySystemConfiguration build()