Method
FlatpakInstallationlaunch
Declaration [src]
gboolean
flatpak_installation_launch (
FlatpakInstallation* self,
const char* name,
const char* arch,
const char* branch,
const char* commit,
GCancellable* cancellable,
GError** error
)
Description [src]
Launch an installed application.
You can use flatpak_installation_get_installed_ref() or
flatpak_installation_get_current_installed_app() to find out what builds
are available, in order to get a value for commit.
Parameters
name-
Type:
const char*Name of the app to launch.
The data is owned by the caller of the method. The value is a NUL terminated UTF-8 string. arch-
Type:
const char*Which architecture to launch (default: current architecture).
The argument can be NULL.The data is owned by the caller of the method. The value is a NUL terminated UTF-8 string. branch-
Type:
const char*Which branch of the application (default: “master”).
The argument can be NULL.The data is owned by the caller of the method. The value is a NUL terminated UTF-8 string. commit-
Type:
const char*The commit of
branchto launch.The argument can be NULL.The data is owned by the caller of the method. The value is a NUL terminated UTF-8 string. cancellable-
Type:
GCancellableA
GCancellable.The argument can be NULL.The data is owned by the caller of the method. error-
Type:
GError **The return location for a recoverable error.
The argument can be NULL.If the return location is not NULL, then you must initialize it to aNULLGError*.The argument will be left initialized to NULLby the method if there are no errors.In case of error, the argument will be set to a newly allocated GError; the caller will take ownership of the data, and be responsible for freeing it.