Discoverer.connectDiscovered
gulong connectDiscovered(T)(T callback, Flag!"After" after = No.After) if (isCallable!T
&& is(ReturnType!T == void)
&& (Parameters!T.length < 1 || (ParameterStorageClassTuple!T[0] == ParameterStorageClass.none && is(Parameters!T[0] : gstpbutils.discoverer_info.DiscovererInfo)))
&& (Parameters!T.length < 2 || (ParameterStorageClassTuple!T[1] == ParameterStorageClass.none && is(Parameters!T[1] == glib.error.ErrorWrap)))
&& (Parameters!T.length < 3 || (ParameterStorageClassTuple!T[2] == ParameterStorageClass.none && is(Parameters!T[2] : gstpbutils.discoverer.Discoverer)))
&& Parameters!T.length < 4)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.
Parameters
callback | signal callback delegate or function to connect void callback(gstpbutils.discoverer_info.DiscovererInfo info, glib.error.ErrorWrap 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 | Yes.After to execute callback after default handler, No.After to execute before (default) |
Returns
Signal ID