Service.clearSync

Remove unlocked items which match the attributes from the secret service.

The attributes should be a set of key and value string pairs.

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

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

class Service
bool
clearSync

Parameters

schema secret.schema.Schema

the schema for the attributes

attributes string[string]

the attribute keys and values

cancellable gio.cancellable.Cancellable

optional cancellation object

Return Value

Type: bool

whether items were removed or not