Method
TrackerResourceadd_uri
Declaration [src]
void
tracker_resource_add_uri (
TrackerResource* self,
const char* property_uri,
const char* value
)
Description [src]
Adds a resource property as an URI string. Previous values for the same property are kept.
This method applies to properties with a rdfs:range that points to a non-literal class (i.e. a subclass of rdfs:Resource).
This method is meant for RDF properties allowing multiple values, see nrl:maxCardinality.
This function produces similar RDF to tracker_resource_add_relation(), although
it requires that the URI is previously known.
Parameters
property_uri |
const char* |
A string identifying the property to modify. |
|
| The data is owned by the caller of the function. | |
| The string is a NUL terminated UTF-8 string. | |
value |
const char* |
The property object. |
|
| The data is owned by the caller of the function. | |
| The string is a NUL terminated UTF-8 string. |