Method

GrlMediaget_region_data

since: 0.2.3

Declaration [src]

const gchar*
grl_media_get_region_data (
  GrlMedia* media,
  const GDateTime** publication_date,
  const gchar** certificate
)

Description [src]

Returns the media’s age certificate and publication date for the first region. This should usually be the media’s most relevant region. Use grl_media_get_region_data_nth() to get the age certificate and publication date for other regions.

Available since: 0.2.3

Parameters

publication_date

Type: GDateTime

The publication date, or NULL to ignore.

The argument will be set by the function.
The data is owned by the instance.
certificate

Type: const gchar**

The age certification, or NULL to ignore.

The argument will be set by the function.
The data is owned by the instance.
The value is a NUL terminated UTF-8 string.

Return value

Type: const gchar*

The ISO-3166-1 of the region where the media was published (owned by media).

The data is owned by the instance.
The value is a NUL terminated UTF-8 string.