Method

TsparqlResourceget_first_relation

Declaration [src]

TrackerResource*
tracker_resource_get_first_relation (
  TrackerResource* self,
  const char* property_uri
)

Description [src]

Returns the first resource object previously assigned to a property.

Parameters

property_uri

Type: const char*

A string identifying the property to look up.

The data is owned by the caller of the method.
The value is a NUL terminated UTF-8 string.

Return value

Type: TrackerResource

The first resource object.

The returned data is owned by the instance.
The return value can be NULL.