Method

PhoshDBusScreenshotcall_screenshot_finish

Declaration [src]

gboolean
phosh_dbus_screenshot_call_screenshot_finish (
  PhoshDBusScreenshot* proxy,
  gboolean* out_success,
  gchar** out_filename_used,
  GAsyncResult* res,
  GError** error
)

Description [src]

Finishes an operation started with phosh_dbus_screenshot_call_screenshot().

Parameters

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.
out_filename_used gchar**
 

Return location for return parameter or NULL to ignore.

 The argument will be set by the function.
 The argument can be NULL.
 The instance takes ownership of the data, and is responsible for freeing it.
 The value is a NUL terminated UTF-8 string.
res GAsyncResult
 

The GAsyncResult obtained from the GAsyncReadyCallback passed to phosh_dbus_screenshot_call_screenshot().

 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.