prompt_at_dbus_path_sync


Description:

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

Perform prompting for a [classPrompt].

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.

Returns a variant result if the prompt was completed and not dismissed. The type of result depends on the action the prompt is completing, and is defined in the Secret Service DBus API specification.

This method may block and should not be used in user interface threads.

Parameters:

this

the secret service

prompt_path

the D-Bus object path of the prompt

cancellable

optional cancellation object

return_type

the variant type of the prompt result

Returns:

null if the prompt was dismissed or an error occurred, a variant result if the prompt was successful




2022 vala-language.org