Discoverer.connectDiscovered

Connect to Discovered signal.

Will be emitted in async mode when all information on a URI could be discovered, or an error occurred.

When an error occurs, info might still contain some partial information, depending on the circumstances of the error.

class Discoverer
ulong
connectDiscovered
(
T
)
(,
Flag!"After" after = No.After
)
if (
isCallable!T &&
is(ReturnType!T == void)
&&
(
Parameters!T.length < 1 ||
(
ParameterStorageClassTuple!T[0] == ParameterStorageClass.none &&
)
)
&&
(
Parameters!T.length < 2 ||
(
ParameterStorageClassTuple!T[1] == ParameterStorageClass.none &&
is(Parameters!T[1] == glib.error.ErrorG)
)
)
&&
(
Parameters!T.length < 3 ||
(
ParameterStorageClassTuple!T[2] == ParameterStorageClass.none &&
)
)
&&
Parameters!T.length < 4
)

Parameters

callback T

signal callback delegate or function to connect

void callback(gstpbutils.discoverer_info.DiscovererInfo info, glib.error.ErrorG error, gstpbutils.discoverer.Discoverer discoverer)

info the results #GstDiscovererInfo (optional)

error #GError, which will be non-NULL if an error occurred during discovery. You must not free this #GError, it will be freed by the discoverer. (optional)

discoverer the instance the signal is connected to (optional)

after Flag!"After"

Yes.After to execute callback after default handler, No.After to execute before (default)

Return Value

Type: ulong

Signal ID