Class KeyOSDRMConfiguration.Builder
-
- All Implemented Interfaces:
public final class KeyOSDRMConfiguration.BuilderThe builder for the KeyOS DRM configuration.
-
-
Constructor Summary
Constructors Constructor Description KeyOSDRMConfiguration.Builder()
-
Method Summary
Modifier and Type Method Description final <Error class: unknown class>customdata(String customdata)Sets the custom data which will be used for the license acquisition request. final <Error class: unknown class>playready(KeyOSKeySystemConfiguration playready)Sets the PlayReady KeyOS key system configuration. final <Error class: unknown class>playready(String playready)The license acquisition URL used for the PlayReady key system. final <Error class: unknown class>widevine(KeyOSKeySystemConfiguration widevine)Sets the Widevine KeyOS key system configuration. final <Error class: unknown class>widevine(String widevine)The license acquisition URL used for the Widevine key system. final KeyOSDRMConfigurationbuild()Builds the KeyOS DRM Configuration. -
-
Method Detail
-
customdata
final <Error class: unknown class> customdata(String customdata)
Sets the custom data which will be used for the license acquisition request.
This attribute is required if it is not specified in the separate KeyOSKeySystemConfiguration for Widevine and PlayReady.
The value of this attribute should be the value of the customData header that you want to send with license requests to the KeyOS license server.
In most cases this will be the base64 encoded KeyOS authentication XML.
- Parameters:
customdata- The custom data.
-
playready
final <Error class: unknown class> playready(KeyOSKeySystemConfiguration playready)
Sets the PlayReady KeyOS key system configuration.
- Parameters:
playready- The PlayReady KeyOS key system configuration.
-
playready
final <Error class: unknown class> playready(String playready)
The license acquisition URL used for the PlayReady key system.
- Parameters:
playready- The PlayReady license acquisition URL.
-
widevine
final <Error class: unknown class> widevine(KeyOSKeySystemConfiguration widevine)
Sets the Widevine KeyOS key system configuration.
- Parameters:
widevine- The Widevine KeyOS key system configuration.
-
widevine
final <Error class: unknown class> widevine(String widevine)
The license acquisition URL used for the Widevine key system.
- Parameters:
widevine- The Widevine license acquisition URL.
-
build
final KeyOSDRMConfiguration build()
Builds the KeyOS DRM Configuration.
-
-
-
-