Item.newForDbusPath

Get a new item proxy for a secret item in the secret service.

If @service is NULL, then secret_service_get() will be called to get the default #SecretService proxy.

This method will return immediately and complete asynchronously.

class Item
static
void
newForDbusPath
(,
string itemPath
,
SecretItemFlags flags
,
Cancellable cancellable
,
GAsyncReadyCallback callback
,
void* userData
)

Parameters

service Service

a secret service object

itemPath string

the D-Bus path of the collection

flags SecretItemFlags

initialization flags for the new item

cancellable Cancellable

optional cancellation object

callback GAsyncReadyCallback

called when the operation completes

userData void*

data to be passed to the callback

Meta