launch_uris


Description:

public abstract bool launch_uris (List<string>? uris, AppLaunchContext? context) throws Error

Launches the application.

This passes the uris to the launched application as arguments, using the optional context to get information about the details of the launcher (like what screen it is on). On error, throws will be set accordingly.

To launch the application without arguments pass a null uris list.

Note that even if the launch is successful the application launched can fail to start if it runs into problems during startup. There is no way to detect this.

Parameters:

this

a AppInfo

uris

a List containing URIs to launch.

context

a AppLaunchContext or null

Returns:

true on successful launch, false otherwise.




2022 vala-language.org