### Enumeration

# AppStream RelationItemKind

since: 1.0

#### Declaration

    enum AppStream.RelationItemKind

#### Description [src]

Type of the item an `AsRelation` is for.

Available since: 1.0

#### Members

`AS_RELATION_ITEM_KIND_UNKNOWN`

  Unknown kind.

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

  A component ID.

  - Value: `1`
  - Nickname: `id`
  - Available since: 1.0
`AS_RELATION_ITEM_KIND_MODALIAS`

  A hardware modalias.

  - Value: `2`
  - Nickname: `modalias`
  - Available since: 1.0
`AS_RELATION_ITEM_KIND_KERNEL`

  An operating system kernel (like Linux)

  - Value: `3`
  - Nickname: `kernel`
  - Available since: 1.0
`AS_RELATION_ITEM_KIND_MEMORY`

  A system RAM requirement.

  - Value: `4`
  - Nickname: `memory`
  - Available since: 1.0
`AS_RELATION_ITEM_KIND_FIRMWARE`

  A device firmware requirement (used by fwupd)

  - Value: `5`
  - Nickname: `firmware`
  - Available since: 1.0
`AS_RELATION_ITEM_KIND_CONTROL`

  An input method for users to control software.

  - Value: `6`
  - Nickname: `control`
  - Available since: 1.0
`AS_RELATION_ITEM_KIND_DISPLAY_LENGTH`

  Display edge length.

  - Value: `7`
  - Nickname: `display-length`
  - Available since: 1.0
`AS_RELATION_ITEM_KIND_HARDWARE`

  A Computer Hardware ID (CHID) to depend on system hardware.

  - Value: `8`
  - Nickname: `hardware`
  - Available since: 1.0
`AS_RELATION_ITEM_KIND_INTERNET`

  Internet connectivity (Since: 0.15.5)

  - Value: `9`
  - Nickname: `internet`
  - Available since: 1.0

#### Type functions

###### as_relation_item_kind_from_string

Converts the text representation to an enumerated value.

since: 0.12.0

###### as_relation_item_kind_to_string

Converts the enumerated value to a text representation.

since: 0.12.0