Class CencDrmConfiguration
java.lang.Object
com.azure.resourcemanager.mediaservices.models.CencDrmConfiguration
Class to specify DRM configurations of CommonEncryptionCenc scheme in Streaming Policy.
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
CencDrmConfiguration
public CencDrmConfiguration()Creates an instance of CencDrmConfiguration class.
-
-
Method Details
-
playReady
Get the playReady property: PlayReady configurations.- Returns:
- the playReady value.
-
withPlayReady
Set the playReady property: PlayReady configurations.- Parameters:
playReady
- the playReady value to set.- Returns:
- the CencDrmConfiguration object itself.
-
widevine
Get the widevine property: Widevine configurations.- Returns:
- the widevine value.
-
withWidevine
Set the widevine property: Widevine configurations.- Parameters:
widevine
- the widevine value to set.- Returns:
- the CencDrmConfiguration object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-