Class DRMConfiguration.Builder
-
- All Implemented Interfaces:
public class DRMConfiguration.Builder
The builder for the DRM configuration.
-
-
Constructor Summary
Constructors Constructor Description DRMConfiguration.Builder()
Creates a builder for the DRM configuration.
-
Method Summary
Modifier and Type Method Description DRMConfiguration.Builder
fairplay(@NonNull() FairPlayKeySystemConfiguration fairplay)
Sets the FairPlay KeyOS key system configuration. DRMConfiguration.Builder
playready(@NonNull() KeySystemConfiguration playready)
Sets the PlayReady key system configuration. DRMConfiguration.Builder
widevine(@NonNull() KeySystemConfiguration widevine)
Sets the Widevine key system configuration. DRMConfiguration.Builder
clearkey(@NonNull() ClearkeyKeySystemConfiguration clearkey)
Sets the ClearKey key system configuration. DRMConfiguration.Builder
integrationParameters(@NonNull() Map<String, Object> integrationParameters)
A map which can be used to pass in specific parameters related to a source into a ContentProtectionIntegration. DRMConfiguration.Builder
customIntegrationId(@NonNull() String integrationId)
Sets the identifier of the DRM integration. DRMConfiguration
build()
Builds The DRM configuration. -
-
Method Detail
-
fairplay
@NonNull() DRMConfiguration.Builder fairplay(@NonNull() FairPlayKeySystemConfiguration fairplay)
Sets the FairPlay KeyOS key system configuration.
- Parameters:
fairplay
- The FairPlay key system.
-
playready
@NonNull() DRMConfiguration.Builder playready(@NonNull() KeySystemConfiguration playready)
Sets the PlayReady key system configuration.
- Parameters:
playready
- The PlayReady key system.
-
widevine
@NonNull() DRMConfiguration.Builder widevine(@NonNull() KeySystemConfiguration widevine)
Sets the Widevine key system configuration.
- Parameters:
widevine
- The Widevine key system.
-
clearkey
@NonNull() DRMConfiguration.Builder clearkey(@NonNull() ClearkeyKeySystemConfiguration clearkey)
Sets the ClearKey key system configuration.
- Parameters:
clearkey
- The ClearKey key system.
-
integrationParameters
@NonNull() DRMConfiguration.Builder integrationParameters(@NonNull() Map<String, Object> integrationParameters)
A map which can be used to pass in specific parameters related to a source into a ContentProtectionIntegration.
- Parameters:
integrationParameters
- Map which can be used to pass in specific parameters related to a source into a ContentProtectionIntegration.
-
customIntegrationId
@NonNull() DRMConfiguration.Builder customIntegrationId(@NonNull() String integrationId)
Sets the identifier of the DRM integration.
-
build
@NonNull() DRMConfiguration build()
Builds The DRM configuration.
-
-
-
-