[ CCode ( has_target = false ) ]
public delegate string ExtractableCheckId (Type type, string id) throws Error
Method for checking that an ID is valid for the given Extractable type.
If the given ID is considered valid, it can be adjusted into some standard and returned to prevent the creation of separate Asset-s, with different id, that would otherwise act the same.
Returns (transfer full) (nullable): The actual id to set on any corresponding assets,
based on id
, or null if id
is not valid.
type |
The Extractable type to check |
id |
The ID to check |