Service.prompt

void prompt(secret.prompt.Prompt prompt, glib.variant_type.VariantType returnType = null, gio.cancellable.Cancellable cancellable = null, gio.types.AsyncReadyCallback callback = null)

Perform prompting for a secret.prompt.Prompt.

This function is called by other parts of this library to handle prompts for the various actions that can require prompting.

Override the #SecretServiceClass vfuncService.prompt_async virtual method to change the behavior of the prompting. The default behavior is to simply run secret.prompt.Prompt.perform on the prompt.

Parameters

promptthe prompt
returnTypethe variant type of the prompt result
cancellableoptional cancellation object
callbackcalled when the operation completes