-
- All Implemented Interfaces:
public class KeySystemConfiguration
The configuration of a key system which will be used during the licensing process with a given DRM server.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public class
KeySystemConfiguration.Builder
The builder for the key system configuration.
-
Field Summary
Fields Modifier and Type Field Description private final String
licenseAcquisitionURL
private final Map<String, String>
headers
private final Map<String, String>
queryParameters
private final LicenseType
licenseType
-
Method Summary
Modifier and Type Method Description String
getLicenseAcquisitionURL()
The license acquisition URL. Map<String, String>
getHeaders()
Map of HTTP headers for the license acquisition request. Map<String, String>
getQueryParameters()
The map of query parameters for the license acquisition request. LicenseType
getLicenseType()
The license type. boolean
isUseCredentials()
Returns whether the player is allowed to use credentials for cross-origin requests. boolean
equals(Object o)
int
hashCode()
-
-
Method Detail
-
getLicenseAcquisitionURL
@NonNull() String getLicenseAcquisitionURL()
The license acquisition URL. (NonNull)
-
getHeaders
@Nullable() Map<String, String> getHeaders()
Map of HTTP headers for the license acquisition request.
- Each entry contains a header name with associated value.
-
getQueryParameters
@Nullable() Map<String, String> getQueryParameters()
The map of query parameters for the license acquisition request.
- Each entry contains a query parameter name with associated value.
-
getLicenseType
@Nullable() LicenseType getLicenseType()
The license type.
- Indicates whether the license should be persisted.
- This is only possible if the LicenseType allows it.
-
isUseCredentials
boolean isUseCredentials()
Returns whether the player is allowed to use credentials for cross-origin requests.
- Credentials are cookies, authorization headers or TLS client certificates.
Default: false
-
hashCode
int hashCode()
-
-
-
-