set_attributes


Description:

public async bool set_attributes (Schema? schema, HashTable<string,string> attributes, Cancellable? cancellable) throws Error

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:

this

an item

schema

the schema for the attributes

attributes

a new set of attributes

cancellable

optional cancellation object

callback

called when the asynchronous operation completes

user_data

data to pass to the callback




2022 vala-language.org