DBusMessage.getHeader

Gets a header field on @message.

class DBusMessage
getHeader
(
GDBusMessageHeaderField headerField
)

Parameters

headerField GDBusMessageHeaderField

A 8-bit unsigned integer (typically a value from the #GDBusMessageHeaderField enumeration)

Return Value

Type: Variant

A #GVariant with the value if the header was found, %NULL otherwise. Do not free, it is owned by @message.

Meta

Since

2.26