SourceResolveCb


Description:

[ CCode ( instance_pos = 3.9 ) ]
public delegate void SourceResolveCb (Source source, uint operation_id, owned Media media, Error? error)

Prototype for the callback passed to resolve.

If the URI did not resolve to a valid media record, media will be null. If there was an error during resolution, error will be set.

If media is non-null, ownership of it is transferred to the callback, and it must be freed afterwards using unref.

Parameters:

source

a source

operation_id

operation identifier

media

a data transfer object

error

possible Error generated at processing

user_data

user data passed to resolve


Namespace: Grl
Package: grilo-0.3