Method

GrlSourceresolve

since: 0.2.0

Declaration [src]

guint
grl_source_resolve (
  GrlSource* source,
  GrlMedia* media,
  const GList* keys,
  GrlOperationOptions* options,
  GrlSourceResolveCb callback,
  gpointer user_data
)

Description [src]

This method is intended to fetch the requested keys of metadata of a given media to the media source.

This method is asynchronous.

Available since: 0.2.0

Parameters

media

Type: GrlMedia

A data transfer object.

The argument can be NULL.
The instance takes ownership of the data, and is responsible for freeing it.
keys

Type: A list of None

The GList of GrlKeyIDs to request.

The data is owned by the caller of the method.
options

Type: GrlOperationOptions

Options to pass to this operation.

The data is owned by the caller of the method.
callback

Type: GrlSourceResolveCb

The user defined callback.

user_data

Type: gpointer

The user data to pass in the callback.

The argument can be NULL.
The data is owned by the caller of the method.

Return value

Type: guint

The operation identifie.