Method

XdpPortalset_background_status

Declaration [src]

void
xdp_portal_set_background_status (
  XdpPortal* portal,
  const char* status_message,
  GCancellable* cancellable,
  GAsyncReadyCallback callback,
  gpointer data
)

Description [src]

Sets the status information of the application, for when it’s running in background.

Parameters

status_message const char*
 

Status message when running in background.

 The argument can be NULL.
 The data is owned by the caller of the function.
 The string is a NUL terminated UTF-8 string.
cancellable GCancellable*
 

Optional GCancellable

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

A callback to call when the request is done.

data gpointer
 

Data to pass to callback.