The ParentalRatingCollection class
Support in HbbTV
Available since: HbbTV 1.0 (ETSI TS 102 796 V1.1.1, OIPF DAE V1.1)
The addParentalRating() method shall be supported if the PVR feature is supported and is otherwise not included. All other features of the class shall be supported.
typedef Collection<ParentalRating> ParentalRatingCollection
A ParentalRatingCollection represents a collection of parental rating values. See Annex K for the definition of the collection template.
In addition to the methods and properties defined for generic collections, the ParentalRatingCollection class supports the additional properties and methods defined below.
void addParentalRating( String scheme, String name, Integer value,
Integer labels, String region )
Creates a ParentalRating object instance for a given parental rating scheme and parental rating value, and adds it to the ParentalRatingCollection for a programme or channel.
A unique string identifying the parental rating scheme to which this value refers. See property scheme in section 184.108.40.206 for more information about possible values.
A string representation of the parental rating value. See property name in section 220.127.116.11 for more information about possible values. Values are not case sensitive.
The parental rating value represented as an Integer. See property value in section 18.104.22.168 for more information about possible values.
A set of content rating labels that may provide additional information about the rating. See property labels in section 22.214.171.124 for more information about possible values.
The region to which the parental rating value applies as an alpha-2 region code as defined in ISO 3166-1. The value of this argument must be null or undefined if no specific region has been identified. Values are not case sensitive.