getLastSerial

open fun getLastSerial(): <Error class: unknown class>

Retrieves the last serial number assigned to a #GDBusMessage on the current thread. This includes messages sent via both low-level API such as g_dbus_connection_send_message() as well as high-level API such as g_dbus_connection_emit_signal(), g_dbus_connection_call() or g_dbus_proxy_call().

Return

the last used serial or zero when no message has been sent within the current thread

Since

2.34