Gjsify LogoGjsify Logo

Hierarchy

  • DecoratorInfo

Index

Constructors

Properties

name: string

Methods

  • complete(sparql: string): void
  • Completes the task associated to this #TrackerDecoratorInfo. Takes ownership of sparql.

    Parameters

    • sparql: string

      SPARQL string

    Returns void

  • Completes the task associated to this #TrackerDecoratorInfo, returning the given error happened during SPARQL generation.

    Parameters

    • error: GLib.Error

      An error occurred during SPARQL generation

    Returns void

  • getMimetype(): string
  • Get the #GTask associated with retrieving extended metadata and information for a URN in Tracker.

    The task object's data (accessible with g_task_get_task_data()) is the #TrackerSparqlBuilder. Use tracker_decorator_info_complete() to complete the task instead of using this object.

    Returns Gio.Task

  • getUrl(): string
  • A URL is a Uniform Resource Locator and should be a location associated with a resource in the database. For example, 'file:///tmp/foo.txt'.

    Returns string

  • getUrn(): string
  • A URN is a Uniform Resource Name and should be a unique identifier for a resource in the database.

    Returns string

  • unref(): void
  • Decreases the reference count of info by 1 and frees it when the reference count reaches 0.

    Returns void

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Type alias with type parameter
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method