Message.newCustom

gst.message.Message newCustom(gst.types.MessageType type, gst.object.ObjectWrap src = null, gst.structure.Structure structure = null) static nothrow

Create a new custom-typed message. This can be used for anything not handled by other message-specific functions to pass a message to the app. The structure field can be null.

Parameters

typeThe #GstMessageType to distinguish messages
srcThe object originating the message.
structurethe structure for the message. The message will take ownership of the structure.

Returns

The new message.

MT safe.