Method

LfbGdbusFeedbackHapticcall_vibrate_sync

Declaration [src]

gboolean
lfb_gdbus_feedback_haptic_call_vibrate_sync (
  LfbGdbusFeedbackHaptic* proxy,
  const gchar* arg_app_id,
  GVariant* arg_pattern,
  gboolean* out_success,
  GCancellable* cancellable,
  GError** error
)

Description [src]

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

See lfb_gdbus_feedback_haptic_call_vibrate() 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_pattern GVariant
 

Argument to pass with the method invocation.

 The data is owned by the caller of the function.
out_success gboolean*
 

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.