load


Description:

public static EncodingTarget load (string name, string? category) throws Error

Searches for the EncodingTarget with the given name, loads it and returns it.

If the category name is specified only targets from that category will be searched for.

Parameters:

name

the name of the EncodingTarget to load (automatically converted to lower case internally as capital letters are not valid for target names).

category

the name of the target category, like ENCODING_CATEGORY_DEVICE . Can be null

Returns:

The EncodingTarget if available, else null.




2022 vala-language.org