get_language_codes


Description:

[ CCode ( array_length = false , array_null_terminated = true ) ]
public string[] get_language_codes ()

Returns a list of known language codes (in form of two-letter ISO-639-1 codes).

This is useful for UIs to build a list of available languages for tagging purposes (e.g. to tag an audio track appropriately in a video or audio editor).

Returns:

NULL-terminated string array with two-letter language codes. Free with strfreev when no longer needed.


Namespace: Gst.Tag



2022 vala-language.org