Class 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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • 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 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.