send_notification


Description:

public bool send_notification (string method, Variant? @params, Cancellable? cancellable = null) throws Error

Synchronously calls method with params on the remote peer.

This function will not wait or expect a reply from the peer.

If params is floating then the reference is consumed.

Parameters:

this

A Client

method

The name of the method to call

cancellable

A Cancellable or null

params

A [struct@GLib.Variant] of parameters or null

Returns:

true on success; otherwise false and throws is set.