Method
XdpPortalupdate_install
Declaration [src]
void
xdp_portal_update_install (
  XdpPortal* portal,
  XdpParent* parent,
  XdpUpdateInstallFlags flags,
  GCancellable* cancellable,
  GAsyncReadyCallback callback,
  gpointer data
)
Description [src]
Installs an available software update.
This should be called in response to a XdpPortal::update-available signal.
During the update installation, the XdpPortal::update-progress
signal will be emitted to provide progress information.
This method completes asynchronously. Use xdp_portal_update_install_finish() inside the GAsyncReadyCallback to obtain the result of the operation.
Parameters
- parent
- 
            Type: XdpParentA XdpParent.The data is owned by the caller of the method. 
- flags
- 
            Type: XdpUpdateInstallFlagsOptions for this call. 
- cancellable
- 
            Type: GCancellableOptional GCancellable.The argument can be NULL.The data is owned by the caller of the method. 
- callback
- 
            Type: GAsyncReadyCallbackA callback to call when the request is done. The argument can be NULL.
- data
- 
            Type: gpointerData to pass to callback.The argument can be NULL.The data is owned by the caller of the method.