SourceResultCb


Description:

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

Prototype for the callback passed to the media sources' methods

Parameters:

source

a source

operation_id

operation identifier

media

a data transfer object

remaining

the number of remaining Media to process, or GRL_SOURCE_REMAINING_UNKNOWN if it is unknown

error

possible Error generated at processing

user_data

user data passed to the used method


Namespace: Grl
Package: grilo-0.3