Promise.this

func will be called exactly once when transitioning out of GST_PROMISE_RESULT_PENDING into any of the other GstPromiseResult states.

  1. this(GstPromise* gstPromise, bool ownedRef)
  2. this()
  3. this(GstPromiseChangeFunc func, void* userData, GDestroyNotify notify)

Parameters

func GstPromiseChangeFunc
userData void*

argument to call func with

notify GDestroyNotify

notification function that user_data is no longer needed

Return Value

Throws

ConstructionException GTK+ fails to create the object.

Meta

Since

1.14