may_resolve
Description:
[ Version ( since = "0.2.0" ) ]
public virtual bool may_resolve (Media media, KeyID key_id, List<KeyID> missing_keys)
public virtual bool may_resolve (Media media, KeyID key_id, List<KeyID> missing_keys)
Checks whether key_id
may be resolved with this for media
, so that the caller can
avoid calling resolve if it can be known in advance it will fail.
If the resolution is known to be impossible because more keys are needed in media
, and missing_keys
is not NULL
, it is populated with the list of GrlKeyID that would be needed.
This function is synchronous and should not block.
Parameters:
this |
a source |
media |
a media on which we want more metadata |
key_id |
the key corresponding to a metadata we might want |
missing_keys |
an optional originally empty list |
Returns:
|