DBusMessage.this

Creates a new gio.DBusMessage from the data stored at blob. The byte order that the message was in can be retrieved using g_dbus_message_get_byte_order().

If the blob cannot be parsed, contains invalid fields, or contains invalid headers, G_IO_ERROR_INVALID_ARGUMENT will be returned.

Parameters

blob char[]

A blob representing a binary D-Bus message.

capabilities GDBusCapabilityFlags

A GDBusCapabilityFlags describing what protocol features are supported.

Return Value

A new gio.DBusMessage or NULL if error is set. Free with g_object_unref().

Throws

GException on failure. ConstructionException GTK+ fails to create the object.

Meta

Since

2.26