Enumeration

AppStreamReferenceKind

since: 1.0

Declaration

enum AppStream.ReferenceKind

Description [src]

A reference type.

Available since: 1.0

Members

AS_REFERENCE_KIND_UNKNOWN

Unknown reference kind.

  • Value: 0
  • Nickname: unknown
  • Available since: 1.0
AS_REFERENCE_KIND_DOI

Digital Object Identifier.

  • Value: 1
  • Nickname: doi
  • Available since: 1.0
AS_REFERENCE_KIND_CITATION_CFF

Web URL to a Citation File Format file.

  • Value: 2
  • Nickname: citation-cff
  • Available since: 1.0
AS_REFERENCE_KIND_REGISTRY

A generic registry.

  • Value: 3
  • Nickname: registry
  • Available since: 1.0

Type functions

as_reference_kind_from_string

Converts the text representation to an enumerated value.

since: 1.0

as_reference_kind_to_string

Converts the enumerated value to an text representation.

since: 1.0.0