Collection.forAliasSync

Lookup which collection is assigned to this alias. Aliases help determine well known collections, such as default.

If service is null, then secret.service.Service.getSync will be called to get the default secret.service.Service proxy.

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

Parameters

servicea secret service object
alias_the alias to lookup
flagsoptions for the collection initialization
cancellableoptional cancellation object

Returns

the collection, or null if none assigned to the alias

Throws