Enumeration

AppStreamContentRatingSystem

Declaration

enum AppStream.ContentRatingSystem

Description [src]

A content rating system for a particular territory.

Available since:0.12.12

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.

Available 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.

Available 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.

Available 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.

Available 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.

Available since: 0.12.12