Gst.Message.new_custom

function new_custom(type:Gst.MessageType, src:Gst.Object, structure:Gst.Structure):Gst.Message {
    // Gjs wrapper for gst_message_new_custom()
}

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.

type

The Gst.MessageType to distinguish messages

src

The object originating the message.

structure

the structure for the message. The message will take ownership of the structure.

Returns

The new message. MT safe.