Method

LfbGdbusFeedbackcall_trigger_feedback

Declaration [src]

void
lfb_gdbus_feedback_call_trigger_feedback (
  LfbGdbusFeedback* proxy,
  const gchar* arg_app_id,
  const gchar* arg_event,
  GVariant* arg_hints,
  gint arg_timeout,
  GCancellable* cancellable,
  GAsyncReadyCallback callback,
  gpointer user_data
)

Description [src]

Asynchronously invokes the TriggerFeedback() D-Bus method on proxy. When the operation is finished, callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). You can then call lfb_gdbus_feedback_call_trigger_feedback_finish() to get the result of the operation.

See lfb_gdbus_feedback_call_trigger_feedback_sync() for the synchronous, blocking version of this method.

Parameters

arg_app_id

Type: const gchar*

Argument to pass with the method invocation.

The data is owned by the caller of the method.
The value is a NUL terminated UTF-8 string.
arg_event

Type: const gchar*

Argument to pass with the method invocation.

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

Type: GVariant

Argument to pass with the method invocation.

The data is owned by the caller of the method.
arg_timeout

Type: gint

Argument to pass with the method invocation.

cancellable

Type: GCancellable

A GCancellable or NULL.

The argument can be NULL.
The data is owned by the caller of the method.
callback

Type: GAsyncReadyCallback

A GAsyncReadyCallback to call when the request is satisfied or NULL.

The argument can be NULL.
user_data

Type: gpointer

User data to pass to callback.

The argument can be NULL.
The data is owned by the caller of the method.