Android.Media.TV.TvContentRating Class
A class representing a TV content rating.

See Also: TvContentRating Members

Syntax

[Android.Runtime.Register("android/media/tv/TvContentRating", DoNotGenerateAcw=true)]
public sealed class TvContentRating : Java.Lang.Object

Remarks

A class representing a TV content rating. When a TV input service inserts the content rating information on a program into the database, this class can be used to generate the formatted string for NoType:android/media/tv/TvContract$Programs;Href=../../../../reference/android/media/tv/TvContract.Programs.html#COLUMN_CONTENT_RATING. To create a TvContentRating object, use the TvContentRating.createRating(java.lang.String, java.lang.String, java.lang.String, java.lang.String...) method with valid rating system string constants.

Example: Rating system definition for the TV Parental Guidelines

The following XML example shows how the TV Parental Guidelines in the United States can be defined:

System defined rating strings

The following strings are defined by the system to provide a standard way to create TvContentRating objects.

System defined string for domains

Constant ValueDescription
com.android.tvUsed for creating system defined content ratings

System defined strings for rating systems

Constant ValueDescription
AR_TVTV content rating system for Argentina
AU_TVTV content rating system for Australia
BR_TVTV content rating system for Brazil
DVBDVB content rating system
ES_DVBDVB content rating system for Spain
FR_DVBDVB content rating system for France
ISDBISDB content rating system
KR_TVTV content rating system for South Korea
SG_TVTV content rating system for Singapore
US_TVTV content rating system for the United States

System defined strings for ratings

Rating SystemConstant ValueDescription
AR_TVAR_TV_ATPSuitable for all audiences. Programs may contain mild violence, language and mature situations
AR_TV_SAM_13Suitable for ages 13 and up. Programs may contain mild to moderate language and mild violence and sexual references
AR_TV_SAM_16Suitable for ages 16 and up. Programs may contain more intensive violence and coarse language, partial nudity and moderate sexual references
AR_TV_SAM_18Suitable for mature audiences only. Programs contain strong violence, coarse language and explicit sexual references
AU_TVAU_TV_PRecommended for younger children aged between 2 and 11 years
AU_TV_CRecommended for older children aged between 5 and 14 years
AU_TV_GRecommended for all ages
AU_TV_PGParental guidance is recommended for young viewers under 15
AU_TV_MRecommended for mature audiences aged 15 years and over
AU_TV_MANot suitable for children and teens under 15, due to sexual descriptions, course language, adult themes or drug use
AU_TV_AVNot suitable for children and teens under 15. This category is used specifically for violent programs
AU_TV_RNot for children under 18. Content may include graphic violence, sexual situations, coarse language and explicit drug use
BR_TVBR_TV_LContent is suitable for all audiences
BR_TV_10Content suitable for viewers over the age of 10
BR_TV_12Content suitable for viewers over the age of 12
BR_TV_14Content suitable for viewers over the age of 14
BR_TV_16Content suitable for viewers over the age of 16
BR_TV_18Content suitable for viewers over the age of 18
DVBDVB_4Recommended for ages 4 and over
DVB_5Recommended for ages 5 and over
DVB_6Recommended for ages 6 and over
DVB_7Recommended for ages 7 and over
DVB_8Recommended for ages 8 and over
DVB_9Recommended for ages 9 and over
DVB_10Recommended for ages 10 and over
DVB_11Recommended for ages 11 and over
DVB_12Recommended for ages 12 and over
DVB_13Recommended for ages 13 and over
DVB_14Recommended for ages 14 and over
DVB_15Recommended for ages 15 and over
DVB_16Recommended for ages 16 and over
DVB_17Recommended for ages 17 and over
DVB_18Recommended for ages 18 and over
ES_DVBES_DVB_ALLRecommended for all ages
ES_DVB_CRecommended for children
ES_DVB_XRecommended for adults
ES_DVB_4Recommended for ages 4 and over
ES_DVB_5Recommended for ages 5 and over
ES_DVB_6Recommended for ages 6 and over
ES_DVB_7Recommended for ages 7 and over
ES_DVB_8Recommended for ages 8 and over
ES_DVB_9Recommended for ages 9 and over
ES_DVB_10Recommended for ages 10 and over
ES_DVB_11Recommended for ages 11 and over
ES_DVB_12Recommended for ages 12 and over
ES_DVB_13Recommended for ages 13 and over
ES_DVB_14Recommended for ages 14 and over
ES_DVB_15Recommended for ages 15 and over
ES_DVB_16Recommended for ages 16 and over
ES_DVB_17Recommended for ages 17 and over
ES_DVB_18Recommended for ages 18 and over
FR_DVBFR_DVB_URecommended for all ages
FR_DVB_4Recommended for ages 4 and over
FR_DVB_5Recommended for ages 5 and over
FR_DVB_6Recommended for ages 6 and over
FR_DVB_7Recommended for ages 7 and over
FR_DVB_8Recommended for ages 8 and over
FR_DVB_9Recommended for ages 9 and over
FR_DVB_10Recommended for ages 10 and over
FR_DVB_11Recommended for ages 11 and over
FR_DVB_12Recommended for ages 12 and over
FR_DVB_13Recommended for ages 13 and over
FR_DVB_14Recommended for ages 14 and over
FR_DVB_15Recommended for ages 15 and over
FR_DVB_16Recommended for ages 16 and over
FR_DVB_17Recommended for ages 17 and over
FR_DVB_18Recommended for ages 18 and over
ISDBISDB_4Recommended for ages 4 and over
ISDB_5Recommended for ages 5 and over
ISDB_6Recommended for ages 6 and over
ISDB_7Recommended for ages 7 and over
ISDB_8Recommended for ages 8 and over
ISDB_9Recommended for ages 9 and over
ISDB_10Recommended for ages 10 and over
ISDB_11Recommended for ages 11 and over
ISDB_12Recommended for ages 12 and over
ISDB_13Recommended for ages 13 and over
ISDB_14Recommended for ages 14 and over
ISDB_15Recommended for ages 15 and over
ISDB_16Recommended for ages 16 and over
ISDB_17Recommended for ages 17 and over
ISDB_18Recommended for ages 18 and over
ISDB_19Recommended for ages 19 and over
ISDB_20Recommended for ages 20 and over
KR_TVKR_TV_ALLAppropriate for all ages
KR_TV_7May contain material inappropriate for children younger than 7, and parental discretion should be used
KR_TV_12May deemed inappropriate for those younger than 12, and parental discretion should be used
KR_TV_15May be inappropriate for children under 15, and that parental discretion should be used
KR_TV_19For adults only
SG_TVSG_TV_GSuitable for all ages
SG_TV_PGSuitable for all but parents should guide their young
SG_TV_PG13Suitable for persons aged 13 and above but parental guidance is advised for children below 13
SG_TV_NC16Suitable for persons aged 16 and above
SG_TV_M18Suitable for persons aged 18 and above
SG_TV_R21Suitable for adults aged 21 and above
US_TVUS_TV_YThis program is designed to be appropriate for all children
US_TV_Y7This program is designed for children age 7 and above
US_TV_GMost parents would find this program suitable for all ages
US_TV_PGThis program contains material that parents may find unsuitable for younger children
US_TV_14This program contains some material that many parents would find unsuitable for children under 14 years of age
US_TV_MAThis program is specifically designed to be viewed by adults and therefore may be unsuitable for children under 17

System defined strings for sub-ratings

Rating SystemConstant ValueDescription
BR_TVBR_TV_DDrugs

Applicable to BR_TV_L, BR_TV_10, BR_TV_12, BR_TV_14, BR_TV_16, and BR_TV_18
BR_TV_SSex

Applicable to BR_TV_L, BR_TV_10, BR_TV_12, BR_TV_14, BR_TV_16, and BR_TV_18
BR_TV_VViolence

Applicable to BR_TV_L, BR_TV_10, BR_TV_12, BR_TV_14, BR_TV_16, and BR_TV_18
US_TVUS_TV_DSuggestive dialogue (Usually means talks about sex)

Applicable to US_TV_PG, and US_TV_14
US_TV_LCoarse language

Applicable to US_TV_PG, US_TV_14, and US_TV_MA
US_TV_SSexual content

Applicable to US_TV_PG, US_TV_14, and US_TV_MA
US_TV_VViolence

Applicable to US_TV_PG, US_TV_14, and US_TV_MA
US_TV_FVFantasy violence (Children's programming only)

Applicable to US_TV_Y7

It is possible for an application to define its own content rating system by supplying a content rating system definition XML resource (see example below) and declaring a broadcast receiver that filters TvInputManager.ActionQueryContentRatingSystems in its manifest.

For example, to create an object that represents TV-PG rating with suggestive dialogue and coarse language from the TV Parental Guidelines in the United States, one can use the following code snippet:

[Android Documentation]

Requirements

Namespace: Android.Media.TV
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0