-
- All Implemented Interfaces:
public class AzureDRMConfiguration.BuilderThe 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.Builderfairplay(@NonNull() FairPlayKeySystemConfiguration fairplay)Sets the configuration of the Fairplay key system. AzureDRMConfiguration.Builderplayready(@NonNull() KeySystemConfiguration playready)Sets the configuration of the PlayReady key system. AzureDRMConfiguration.Builderwidevine(@NonNull() KeySystemConfiguration widevine)Sets the configuration of the Widevine key system. AzureDRMConfiguration.Builderclearkey(@NonNull() ClearkeyKeySystemConfiguration clearkey)Sets the configuration of the ClearKey key system. AzureDRMConfigurationbuild()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.
-
-
-
-