### Interface

# GnomeCmd FileMetadataExtractor

#### Description

    interface GnomeCmd.FileMetadataExtractor : GObject.Object

No description available.

#### Prerequisite

In order to implement FileMetadataExtractor, your type must inherit from`GObject`.

#### Instance methods

###### gnome_cmd_file_metadata_extractor_class_name

Returns a human readable, localized name of a tag class.

###### gnome_cmd_file_metadata_extractor_extract_metadata

Extracts tags from a file described by a `fd` file descriptor. A callback `add` will be called for every extracted tag and its value.

###### gnome_cmd_file_metadata_extractor_summary_tags

Returns a subset of tags to be shown in a “summary”.

###### gnome_cmd_file_metadata_extractor_supported_tags

Returns a list of tags, the plug-in may potentially extract from files.

###### gnome_cmd_file_metadata_extractor_tag_description

Returns a localized description of a tag.

###### gnome_cmd_file_metadata_extractor_tag_name

Returns a human readable, localized name of a tag.

#### Interface structure

    struct GnomeCmdFileMetadataExtractorInterface {
      GTypeInterface g_iface;
      GStrv (* supported_tags) (
        GnomeCmdFileMetadataExtractor* fme
      );
      GStrv (* summary_tags) (
        GnomeCmdFileMetadataExtractor* fme
      );
      gchar* (* class_name) (
        GnomeCmdFileMetadataExtractor* fme,
        const gchar* cls
      );
      gchar* (* tag_name) (
        GnomeCmdFileMetadataExtractor* fme,
        const gchar* tag
      );
      gchar* (* tag_description) (
        GnomeCmdFileMetadataExtractor* fme,
        const gchar* tag
      );
      void (* extract_metadata) (
        GnomeCmdFileMetadataExtractor* fme,
        GnomeCmdFileDescriptor* fd,
        GnomeCmdFileMetadataExtractorAddTag add,
        gpointer user_data
      );

    }

No description available.

###### Interface members

`g_iface` |
    GTypeInterface
| No description available.
`supported_tags` |
    GStrv (* supported_tags) (
        GnomeCmdFileMetadataExtractor* fme
      )
| No description available.
`summary_tags` |
    GStrv (* summary_tags) (
        GnomeCmdFileMetadataExtractor* fme
      )
| No description available.
`class_name` |
    gchar* (* class_name) (
        GnomeCmdFileMetadataExtractor* fme,
        const gchar* cls
      )
| No description available.
`tag_name` |
    gchar* (* tag_name) (
        GnomeCmdFileMetadataExtractor* fme,
        const gchar* tag
      )
| No description available.
`tag_description` |
    gchar* (* tag_description) (
        GnomeCmdFileMetadataExtractor* fme,
        const gchar* tag
      )
| No description available.
`extract_metadata` |
    void (* extract_metadata) (
        GnomeCmdFileMetadataExtractor* fme,
        GnomeCmdFileDescriptor* fd,
        GnomeCmdFileMetadataExtractorAddTag add,
        gpointer user_data
      )
| No description available.

#### Virtual methods

###### GnomeCmd.FileMetadataExtractor.class_name

Returns a human readable, localized name of a tag class.

###### GnomeCmd.FileMetadataExtractor.extract_metadata

Extracts tags from a file described by a `fd` file descriptor. A callback `add` will be called for every extracted tag and its value.

###### GnomeCmd.FileMetadataExtractor.summary_tags

Returns a subset of tags to be shown in a “summary”.

###### GnomeCmd.FileMetadataExtractor.supported_tags

Returns a list of tags, the plug-in may potentially extract from files.

###### GnomeCmd.FileMetadataExtractor.tag_description

Returns a localized description of a tag.

###### GnomeCmd.FileMetadataExtractor.tag_name

Returns a human readable, localized name of a tag.