launch_uris_async


Description:

[ Version ( since = "2.60" ) ]
public abstract async bool launch_uris_async (List<string>? uris, AppLaunchContext? context, Cancellable? cancellable = null) throws Error

Async version of [method@Gio.

AppInfo.launch_uris].

The callback is invoked immediately after the application launch, but it waits for activation in case of D-Bus–activated applications and also provides extended error information for sandboxed applications, see notes for [ func@Gio.AppInfo.launch_default_for_uri_async].

Parameters:

this

the app info

uris

a list of URIs to launch.

context

the launch context

cancellable

a [class@Gio.Cancellable]

callback

a [type@Gio.AsyncReadyCallback] to call when the request is done

user_data

data to pass to callback