AppStream.ComponentKind
Description: Reference for AppStream.ComponentKind

### Enumeration

# AppStreamComponentKind

since: 1.0

#### Declaration

    enum AppStream.ComponentKind

#### Description [src]

The type of an `AsComponent`.

Available since: 1.0

#### Members

`AS_COMPONENT_KIND_UNKNOWN`

  Type invalid or not known.

  - Value: `0`
  - Nickname: `unknown`
  - Available since: 1.0
`AS_COMPONENT_KIND_GENERIC`

  A generic (= without specialized type) component.

  - Value: `1`
  - Nickname: `generic`
  - Available since: 1.0
`AS_COMPONENT_KIND_DESKTOP_APP`

  An application with a .desktop-file.

  - Value: `2`
  - Nickname: `desktop-app`
  - Available since: 1.0
`AS_COMPONENT_KIND_CONSOLE_APP`

  A console application.

  - Value: `3`
  - Nickname: `console-app`
  - Available since: 1.0
`AS_COMPONENT_KIND_WEB_APP`

  A web application.

  - Value: `4`
  - Nickname: `web-app`
  - Available since: 1.0
`AS_COMPONENT_KIND_SERVICE`

  A system service launched by the init system.

  - Value: `5`
  - Nickname: `service`
  - Available since: 1.0
`AS_COMPONENT_KIND_ADDON`

  An extension of existing software, which does not run standalone.

  - Value: `6`
  - Nickname: `addon`
  - Available since: 1.0
`AS_COMPONENT_KIND_RUNTIME`

  An application runtime platform.

  - Value: `7`
  - Nickname: `runtime`
  - Available since: 1.0
`AS_COMPONENT_KIND_FONT`

  A font.

  - Value: `8`
  - Nickname: `font`
  - Available since: 1.0
`AS_COMPONENT_KIND_CODEC`

  A multimedia codec.

  - Value: `9`
  - Nickname: `codec`
  - Available since: 1.0
`AS_COMPONENT_KIND_INPUT_METHOD`

  An input-method provider.

  - Value: `10`
  - Nickname: `input-method`
  - Available since: 1.0
`AS_COMPONENT_KIND_OPERATING_SYSTEM`

  A computer operating system.

  - Value: `11`
  - Nickname: `operating-system`
  - Available since: 1.0
`AS_COMPONENT_KIND_FIRMWARE`

  Firmware.

  - Value: `12`
  - Nickname: `firmware`
  - Available since: 1.0
`AS_COMPONENT_KIND_DRIVER`

  A driver.

  - Value: `13`
  - Nickname: `driver`
  - Available since: 1.0
`AS_COMPONENT_KIND_LOCALIZATION`

  Software localization (usually l10n resources)

  - Value: `14`
  - Nickname: `localization`
  - Available since: 1.0
`AS_COMPONENT_KIND_REPOSITORY`

  A remote software or data source.

  - Value: `15`
  - Nickname: `repository`
  - Available since: 1.0
`AS_COMPONENT_KIND_ICON_THEME`

  An icon theme following the XDG specification.

  - Value: `16`
  - Nickname: `icon-theme`
  - Available since: 1.0

#### Type functions

###### as_component_kind_from_string

Converts the text representation to an enumerated value.

since: 1.0

###### as_component_kind_to_string

Converts the enumerated value to an text representation.

since: 1.0