for_alias_sync


Description:

public static Collection? for_alias_sync (Service? service, string alias, CollectionFlags flags, Cancellable? cancellable = null) throws Error

Lookup which collection is assigned to this alias.

Aliases help determine well known collections, such as `default`.

If service is null, then [funcService.get_sync] will be called to get the default [classService ] proxy.

This method may block and should not be used in user interface threads.

Parameters:

service

a secret service object

alias

the alias to lookup

flags

options for the collection initialization

cancellable

optional cancellation object

Returns:

the collection, or null if none assigned to the alias