Class OutputProtection

java.lang.Object
com.brightcove.player.drm.OutputProtection

public class OutputProtection extends 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

    Modifier and Type
    Method
    Description
    boolean
    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.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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.