Enumeration
AppStreamContentRatingSystem
since: 0.12.12
Members
AS_CONTENT_RATING_SYSTEM_UNKNOWN
-
Unknown ratings system.
- Value:
0
- Nickname:
unknown
- Available since: 0.12.12
- Value:
AS_CONTENT_RATING_SYSTEM_INCAA
-
INCAA.
- Value:
1
- Nickname:
incaa
- Available since: 0.12.12
- Value:
AS_CONTENT_RATING_SYSTEM_ACB
-
ACB.
- Value:
2
- Nickname:
acb
- Available since: 0.12.12
- Value:
AS_CONTENT_RATING_SYSTEM_DJCTQ
-
DJCTQ.
- Value:
3
- Nickname:
djctq
- Available since: 0.12.12
- Value:
AS_CONTENT_RATING_SYSTEM_GSRR
-
GSRR.
- Value:
4
- Nickname:
gsrr
- Available since: 0.12.12
- Value:
AS_CONTENT_RATING_SYSTEM_PEGI
-
PEGI.
- Value:
5
- Nickname:
pegi
- Available since: 0.12.12
- Value:
AS_CONTENT_RATING_SYSTEM_KAVI
-
KAVI.
- Value:
6
- Nickname:
kavi
- Available since: 0.12.12
- Value:
AS_CONTENT_RATING_SYSTEM_USK
-
USK.
- Value:
7
- Nickname:
usk
- Available since: 0.12.12
- Value:
AS_CONTENT_RATING_SYSTEM_ESRA
-
ESRA.
- Value:
8
- Nickname:
esra
- Available since: 0.12.12
- Value:
AS_CONTENT_RATING_SYSTEM_CERO
-
CERO.
- Value:
9
- Nickname:
cero
- Available since: 0.12.12
- Value:
AS_CONTENT_RATING_SYSTEM_OFLCNZ
-
OFLCNZ.
- Value:
10
- Nickname:
oflcnz
- Available since: 0.12.12
- Value:
AS_CONTENT_RATING_SYSTEM_RUSSIA
-
Russia.
- Value:
11
- Nickname:
russia
- Available since: 0.12.12
- Value:
AS_CONTENT_RATING_SYSTEM_MDA
-
MDA.
- Value:
12
- Nickname:
mda
- Available since: 0.12.12
- Value:
AS_CONTENT_RATING_SYSTEM_GRAC
-
GRAC.
- Value:
13
- Nickname:
grac
- Available since: 0.12.12
- Value:
AS_CONTENT_RATING_SYSTEM_ESRB
-
ESRB.
- Value:
14
- Nickname:
esrb
- Available since: 0.12.12
- Value:
AS_CONTENT_RATING_SYSTEM_IARC
-
IARC.
- Value:
15
- Nickname:
iarc
- Available since: 0.12.12
- Value:
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