Package com.brightcove.player.drm
Class OutputProtection
- java.lang.Object
-
- com.brightcove.player.drm.OutputProtection
-
public class OutputProtection extends java.lang.Object
An immutable class used to configure the output protection when downloading a DRM license.
-
-
Constructor Summary
Constructors Constructor Description OutputProtection(boolean digital, boolean analogue, boolean enforce)
Instantiates a new Output Protection.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isAnalogue()
Returns if the protection for analogue output is enabled.boolean
isDigital()
Returns if the protection for digital output is enabled.boolean
isEnforce()
Returns if the hard output protection is enabled.
-
-
-
Method Detail
-
isDigital
public boolean isDigital()
Returns if the protection for digital output is enabled.- Returns:
- true if enabled.
-
isAnalogue
public boolean isAnalogue()
Returns if the protection for analogue output is enabled.- Returns:
- true if enabled.
-
isEnforce
public boolean isEnforce()
Returns if the hard output protection is enabled.- Returns:
- true if enabled.
-
-