identify_media
Description:
Try to match a newly created media
with a media description from this.
If found, media
will be filled with the corresponding information stored in this. In
particular, after a call to identify_media, if the media could be identified, its OsinfoEntify:OsinfoDb:id
and OsinfoMedia:OsinfoDb:os
s properties will be set.
The match for media
in this is not guaranteed to be unique and this method will only return the
first match found. The order in which matches are identified is not guaranteed, so when there are multiple matches, the returned match may vary
over time. Applications are recommended to use the osinfo_db_identify_all_media
method instead to receive all matched media.
Parameters:
this |
an Db database |
media |
the installation media data |
Returns:
TRUE if |