Method
PhoshDBusLoginSessioncall_set_brightness_sync
Declaration [src]
gboolean
phosh_dbus_login_session_call_set_brightness_sync (
PhoshDBusLoginSession* proxy,
const gchar* arg_subsystem,
const gchar* arg_name,
guint arg_brightness,
GCancellable* cancellable,
GError** error
)
Description [src]
Synchronously invokes the SetBrightness() D-Bus method on proxy
. The calling thread is blocked until a reply is received.
See phosh_dbus_login_session_call_set_brightness()
for the asynchronous version of this method.
Parameters
arg_subsystem |
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_name |
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_brightness |
guint |
Argument to pass with the method invocation. |
|
cancellable |
GCancellable |
A |
|
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 . |