public class FairPlayKeySystemConfiguration extends KeySystemConfiguration
Modifier and Type | Class and Description |
---|---|
static class |
FairPlayKeySystemConfiguration.Builder
The builder for the FairPlay key system configuration.
|
Constructor and Description |
---|
FairPlayKeySystemConfiguration(String certificateURL,
String licenseAcquisitionURL)
Creates a FairPlay key system configuration.
|
FairPlayKeySystemConfiguration(String certificateURL,
String licenseAcquisitionURL,
Map<String,String> headers,
boolean useCredentials,
Map<String,String> queryParameters)
Creates a FairPlay key system configuration.
|
Modifier and Type | Method and Description |
---|---|
String |
getCertificateURL()
The URL of the certificate.
|
equals, getCertificate, getHeaders, getLicenseAcquisitionURL, getLicenseType, getQueryParameters, hashCode, isUseCredentials
public FairPlayKeySystemConfiguration(String certificateURL, String licenseAcquisitionURL)
certificateURL
- The URL of the certificate. (NonNull)licenseAcquisitionURL
- The license acquisition URL. (NonNull)public FairPlayKeySystemConfiguration(String certificateURL, String licenseAcquisitionURL, Map<String,String> headers, boolean useCredentials, Map<String,String> queryParameters)
certificateURL
- The URL of the certificate. (NonNull)licenseAcquisitionURL
- The license acquisition URL. (NonNull)headers
- Map of HTTP headers for the license acquisition request. (Nullable)useCredentials
- Whether the player is allowed to use credentials for cross-origin requests.queryParameters
- Map of query parameters for the license acquisition request. (Nullable)public String getCertificateURL()