|
JSR-927 (Maintenance Release) | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The RatingDimension
interface represents an
individual content rating scheme against which program events are
rated. Each rating region may support multiple rating
dimensions. One dimension in the U.S. rating region, for example,
is used to describe the MPAA list. The dimension name for such a
case may be defined as "MPAA". Another example of a rating
dimension may be an age-based DVB rating.
ProgramEvent
,
ContentRatingAdvisory
Method Summary | |
java.lang.String |
getDimensionName()
Returns a string which represents the dimension name being described by this object. |
short |
getNumberOfLevels()
Returns the number of levels defined for this dimension. |
java.lang.String[] |
getRatingLevelDescription(short ratingLevel)
Returns a pair of strings describing the specified rating level for this dimension. |
Method Detail |
public java.lang.String getDimensionName()
public short getNumberOfLevels()
public java.lang.String[] getRatingLevelDescription(short ratingLevel) throws SIException
ratingLevel
- The rating level for which to retrieve the
textual description.
SIException
- If ratingLevel
is not valid for
this RatingDimension
.ContentRatingAdvisory.getRatingLevel(java.lang.String)
|
JSR-927 (Maintenance Release) | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |