Item.setAttributes

void setAttributes(secret.schema.Schema schema, string[string] attributes, gio.cancellable.Cancellable cancellable = null, gio.types.AsyncReadyCallback callback = null)

Set the attributes of this item.

The attributes are a mapping of string keys to string values. Attributes are used to search for items. Attributes are not stored or transferred securely by the secret service.

This function returns immediately and completes asynchronously.

Parameters

schemathe schema for the attributes
attributesa new set of attributes
cancellableoptional cancellation object
callbackcalled when the asynchronous operation completes