Method

PhoshDBusDisplayConfigcall_change_backlight

Declaration [src]

void
phosh_dbus_display_config_call_change_backlight (
  PhoshDBusDisplayConfig* proxy,
  guint arg_serial,
  guint arg_output,
  gint arg_value,
  GCancellable* cancellable,
  GAsyncReadyCallback callback,
  gpointer user_data
)

Description [src]

Asynchronously invokes the ChangeBacklight() 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 phosh_dbus_display_config_call_change_backlight_finish() to get the result of the operation.

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

Parameters

arg_serial guint
 

Argument to pass with the method invocation.

arg_output guint
 

Argument to pass with the method invocation.

arg_value gint
 

Argument to pass with the method invocation.

cancellable GCancellable
 

A GCancellable or NULL.

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

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

 The argument can be NULL.
user_data gpointer
 

User data to pass to callback.

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