EncodingTarget


Description:

[ CCode ( has_construct_function = false ) ]
public EncodingTarget (string name, string category, string description, List<EncodingProfile> profiles)

Creates a new EncodingTarget.

The name and category can only consist of lowercase ASCII letters for the first character, followed by either lowercase ASCII letters, digits or hyphens ('-').

The category *should* be one of the existing well-defined categories, like ENCODING_CATEGORY_DEVICE, but it *can* be a application or user specific category if needed.

Parameters:

name

The name of the target.

category

The name of the category to which this target belongs. For example: ENCODING_CATEGORY_DEVICE.

description

A description of EncodingTarget in the current locale.

profiles

A List of EncodingProfile.

Returns:

The newly created EncodingTarget or null if there was an error.




2022 vala-language.org