otherwise. Do not free, it is owned by message.
DBusMessage.getHeader
glib.variant.Variant getHeader(gio.types.DBusMessageHeaderField headerField)Gets a header field on message.
The caller is responsible for checking the type of the returned #GVariant matches what is expected.
Parameters
headerField | A 8-bit unsigned integer (typically a value from the #GDBusMessageHeaderField enumeration) |
Returns
A #GVariant with the value if the header was found, null