setBody

open fun setBody(body: <Error class: unknown class>)

Sets the body @message. As a side-effect the %G_DBUS_MESSAGE_HEADER_FIELD_SIGNATURE header field is set to the type string of @body (or cleared if @body is null).

If @body is floating, @message assumes ownership of @body.

Since

2.26

Parameters

body

Either null or a #GVariant that is a tuple.