get_region_data


Description:

[ Version ( since = "0.2.3" ) ]
public unowned string get_region_data (out unowned DateTime publication_date, out unowned string certificate)

Returns the media's age certificate and publication date for the first region.

This should usually be the media's most relevant region. Use get_region_data_nth to get the age certificate and publication date for other regions.

Parameters:

this

the media object

publication_date

the publication date, or null to ignore.

certificate

the age certification, or null to ignore.

Returns:

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




2022 vala-language.org