Zeitgeist – zeitgeist-2.0 – Vala Binding Reference

Zeitgeist – zeitgeist-2.0 Reference Manual

# Zeitgeist

## Description:

Abstracts data sources used by the DataSourceRegistry extension

ZeitgeistDataSource represents a data source used to insert events into Zeitgeist. The data sources are identified using the unique_id property, and when querying the data source registry you get other interesting information like timestamp of the last action of the data source, flag whether it is currently running etc.

## Content:

### Namespaces:

- DataSources
- Events
- NCAL
- NCO
- NFO
- NIE
- NMM
- NMO
- Symbol
- Timestamp - Convenience functions for dealing with timestamps and dates
- Utils - Utility functions. FOR INTERNAL USE ONLY
- ZG

### Interfaces:

- RemoteRegistry
- RemoteLog
- RemoteMonitor
- RemoteSimpleIndexer
- NetworkManagerDBus
- ConnmanManagerDBus
- ResultSet - Cursor-like interface for results sets

### Classes:

- DataSource
- DataSourceRegistry - Query the Zeitgeist Data-Source Registry extension
- Event - Event objects abstract Zeitgeist events
- Subject - Subject objects abstract Zeitgeist subjects
- TimeRange - Immutable representation of an interval in time, marked by a beginning and an end
- Index - Query the Zeitgeist Full Text Search Extension
- Log - Primary access point for talking to the Zeitgeist daemon
- Monitor - Listens for updates to the Zeitgeist event log
- QueuedProxyWrapper
- SimpleResultSet

### Structs:

- VersionStruct - Version struct consisting of the following fields: - major - minor - minus

### Enums:

- ResultType - ZeitgeistResultType
- RelevantResultType
- StorageState - Enumeration class defining the possible values for the storage state of an event subject.

### Error domains:

- DataModelError - Errors which can be thrown when asynchronously querying for Events.
- EngineError

### Functions:

- public void register_mimetype (string mimetype, string interpretation_uri)
  zeitgeist_register_mimetype:
- public void register_mimetype_regex (string mimetype_regex, string interpretation_uri)
  zeitgeist_register_mimetype_regex:
- public unowned string? interpretation_for_mimetype (string? mimetype)
  zeitgeist_interpretation_for_mimetype:
- public void register_uri_scheme (string uri_scheme, string manifestation_type)
  zeitgeist_register_uri_scheme:
- public unowned string? manifestation_for_uri (string uri)
  zeitgeist_manifestation_for_uri