AppStream.ContentRatingSystem
Description: Reference for AppStream.ContentRatingSystem

### Enumeration

# AppStreamContentRatingSystem

since: 0.12.12

#### Declaration

    enum AppStream.ContentRatingSystem

#### Description [src]

A content rating system for a particular territory.

Available since: 0.12.12

#### Members

Name | Description
--- | ---
`AS_CONTENT_RATING_SYSTEM_UNKNOWN` | Unknown ratings system.
`AS_CONTENT_RATING_SYSTEM_INCAA` | INCAA.
`AS_CONTENT_RATING_SYSTEM_ACB` | ACB.
`AS_CONTENT_RATING_SYSTEM_DJCTQ` | DJCTQ.
`AS_CONTENT_RATING_SYSTEM_GSRR` | GSRR.
`AS_CONTENT_RATING_SYSTEM_PEGI` | PEGI.
`AS_CONTENT_RATING_SYSTEM_KAVI` | KAVI.
`AS_CONTENT_RATING_SYSTEM_USK` | USK.
`AS_CONTENT_RATING_SYSTEM_ESRA` | ESRA.
`AS_CONTENT_RATING_SYSTEM_CERO` | CERO.
`AS_CONTENT_RATING_SYSTEM_OFLCNZ` | OFLCNZ.
`AS_CONTENT_RATING_SYSTEM_RUSSIA` | Russia.
`AS_CONTENT_RATING_SYSTEM_MDA` | MDA.
`AS_CONTENT_RATING_SYSTEM_GRAC` | GRAC.
`AS_CONTENT_RATING_SYSTEM_ESRB` | ESRB.
`AS_CONTENT_RATING_SYSTEM_IARC` | IARC.

#### Type functions

###### as_content_rating_system_format_age

Format `age` as a human-readable string in the given rating `system`. This is the way to present system-specific strings in a UI.

since: 0.12.12

###### as_content_rating_system_from_locale

Determine the most appropriate `AsContentRatingSystem` for the given `locale`. Content rating systems are selected by territory. If no content rating system seems suitable, `AS_CONTENT_RATING_SYSTEM_IARC` is returned.

since: 0.12.12

###### as_content_rating_system_get_csm_ages

Get the CSM ages corresponding to the entries returned by `as_content_rating_system_get_formatted_ages()` for this `system`.

since: 0.12.12

###### as_content_rating_system_get_formatted_ages

Get an array of all the possible return values of `as_content_rating_system_format_age()` for the given `system`. The array is sorted with youngest CSM age first.

since: 0.12.12

###### as_content_rating_system_to_string

Get a human-readable string to identify `system`. `NULL` will be returned for `AS_CONTENT_RATING_SYSTEM_UNKNOWN`.

since: 0.12.12