find_related_uris


Description:

public async string[] find_related_uris (TimeRange time_range, GenericArray<Event> event_templates, GenericArray<Event> result_event_templates, StorageState storage_state, uint32 num_events, RelevantResultType result_type, Cancellable? cancellable = null) throws Error

Get a list of URIs of subjects which frequently occur together with events matching event_templates. Possibly restricting to time_range or to URIs that occur as subject of events matching result_event_templates.

Parameters:

time_range

TimeRange A time range in which the events should be considered in

event_templates

An GLib.GenericArray of Event describing the events to relate to

result_event_templates

An GLib.GenericArray of Event desrcibing the result to be returned

storage_state

StorageState storage state

num_events

int represteing the number of events that should be returned

result_type

ResultType how the events should be grouped and sorted

cancellable

a GLib.Cancellable to cancel the operation or %NULL