prompt_at_dbus_path


Description:

public async Variant? prompt_at_dbus_path (string prompt_path, VariantType? return_type, Cancellable? cancellable) throws Error

Perform prompting for a [classPrompt].

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

Override the Service [vfuncService.prompt_async] virtual method to change the behavior of the propmting. The default behavior is to simply run [methodPrompt.perform] on the prompt.

Parameters:

this

the secret service

prompt_path

the D-Bus object path of the prompt

return_type

the variant type of the prompt result

cancellable

optional cancellation object

callback

called when the operation completes

user_data

data to be passed to the callback




2022 vala-language.org