Method

LfbGdbusFeedbackcall_trigger_feedback_sync

Declaration [src]

gboolean
lfb_gdbus_feedback_call_trigger_feedback_sync (
  LfbGdbusFeedback* proxy,
  const gchar* arg_app_id,
  const gchar* arg_event,
  GVariant* arg_hints,
  gint arg_timeout,
  guint* out_id,
  GCancellable* cancellable,
  GError** error
)

Description [src]

Synchronously invokes the TriggerFeedback() D-Bus method on proxy. The calling thread is blocked until a reply is received.

See lfb_gdbus_feedback_call_trigger_feedback() for the asynchronous version of this method.

Parameters

arg_app_id const gchar*
 

Argument to pass with the method invocation.

 The data is owned by the caller of the function.
 The value is a NUL terminated UTF-8 string.
arg_event const gchar*
 

Argument to pass with the method invocation.

 The data is owned by the caller of the function.
 The value is a NUL terminated UTF-8 string.
arg_hints GVariant
 

Argument to pass with the method invocation.

 The data is owned by the caller of the function.
arg_timeout gint
 

Argument to pass with the method invocation.

out_id guint*
 

Return location for return parameter or NULL to ignore.

 The argument will be set by the function.
 The argument can be NULL.
cancellable GCancellable
 

A GCancellable or NULL.

 The argument can be NULL.
 The data is owned by the caller of the function.
error GError **
  The return location for a GError*, or NULL.

Return value

Returns: gboolean
 

TRUE if the call succeeded, FALSE if error is set.