org.ocap.hardware
Class CopyControl

java.lang.Object
  extended by org.ocap.hardware.CopyControl

public class CopyControl
extends Object

This class represents the copy control information on the analog and digital A/V outputs of the OCAP terminal.


Method Summary
static int getCCIBits(Service service)
          Provides an OCAP Application with the ability to query the OpenCable Host Device for the current value of the CCI bits, which the OpenCable Host Device is currently using for Copy Protection.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getCCIBits

public static final int getCCIBits(Service service)
Provides an OCAP Application with the ability to query the OpenCable Host Device for the current value of the CCI bits, which the OpenCable Host Device is currently using for Copy Protection. Note (informative) OCAP Applications that have access to and are processing video content should call this function at a periodic rate of no less than once every minute.

Parameters:
service - indicates the service to which the returned CCI value applies. CCI values are passed from a CableCARD to a Host associated with a program number. The implementation SHALL use the service to identify the program number.
Returns:
The CCI values currently in use by the OpenCable Host Device for the indicated service.
Throws:
IllegalStateException - If the specified Service is not presenting.