Package com.brightcove.player.drm
Class OutputProtection
java.lang.Object
com.brightcove.player.drm.OutputProtection
An immutable class used to configure the output protection when downloading a DRM license.
-
Constructor Summary
ConstructorDescriptionOutputProtection
(boolean digital, boolean analogue, boolean enforce) Instantiates a new Output Protection. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Returns if the protection for analogue output is enabled.boolean
Returns if the protection for digital output is enabled.boolean
Returns if the hard output protection is enabled.
-
Constructor Details
-
OutputProtection
public OutputProtection(boolean digital, boolean analogue, boolean enforce) Instantiates a new Output Protection.- Parameters:
digital
- enables digital protection.analogue
- enables analogue protection.enforce
- enforces hard output protection.
-
-
Method Details
-
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.
-