Class AzureDRMConfiguration.Builder
-
- All Implemented Interfaces:
public class AzureDRMConfiguration.Builder
The builder for the Azure Media Service DRM configuration.
-
-
Constructor Summary
Constructors Constructor Description AzureDRMConfiguration.Builder(String certificateURL, String token)
Creates a builder for the Azure Media Service DRM configuration.
-
Method Summary
Modifier and Type Method Description AzureDRMConfiguration.Builder
fairplay(@NonNull() FairPlayKeySystemConfiguration fairplay)
Sets the configuration of the Fairplay key system. AzureDRMConfiguration.Builder
playready(@NonNull() KeySystemConfiguration playready)
Sets the configuration of the PlayReady key system. AzureDRMConfiguration.Builder
widevine(@NonNull() KeySystemConfiguration widevine)
Sets the configuration of the Widevine key system. AzureDRMConfiguration.Builder
clearkey(@NonNull() ClearkeyKeySystemConfiguration clearkey)
Sets the configuration of the ClearKey key system. AzureDRMConfiguration
build()
Builds the Azure Media Service DRM configuration. -
-
Method Detail
-
fairplay
@NonNull() AzureDRMConfiguration.Builder fairplay(@NonNull() FairPlayKeySystemConfiguration fairplay)
Sets the configuration of the Fairplay key system.
- Parameters:
fairplay
- The Fairplay key system.
-
playready
@NonNull() AzureDRMConfiguration.Builder playready(@NonNull() KeySystemConfiguration playready)
Sets the configuration of the PlayReady key system.
- Parameters:
playready
- The PlayReady key system.
-
widevine
@NonNull() AzureDRMConfiguration.Builder widevine(@NonNull() KeySystemConfiguration widevine)
Sets the configuration of the Widevine key system.
- Parameters:
widevine
- The Widevine key system.
-
clearkey
@NonNull() AzureDRMConfiguration.Builder clearkey(@NonNull() ClearkeyKeySystemConfiguration clearkey)
Sets the configuration of the ClearKey key system.
- Parameters:
clearkey
- The ClearKey key system.
-
build
@NonNull() AzureDRMConfiguration build()
Builds the Azure Media Service DRM configuration.
-
-
-
-