org.dvb.dsmcc
Class NPTRate

java.lang.Object
  extended by org.dvb.dsmcc.NPTRate

public class NPTRate
extends java.lang.Object

Represents the rate at which an broadcast timeline progresses. Rates are expressed as the combination of a numerator and a denominator. Instances of this class are constructed by the platform and returned to applications. A rate of 1/1 shall indicate "the standard presentation rate" as defined in the NPT specification.

Since:
MHP 1.0.1

Method Summary
 int getDenominator()
          Get the NPT rate's denominator.
 int getNumerator()
          Get the NPT rate's numerator.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getNumerator

public int getNumerator()
Get the NPT rate's numerator. A value of zero indicates that the NPT is not progressing.

Returns:
the numerator

getDenominator

public int getDenominator()
Get the NPT rate's denominator.

Returns:
the denominator