InteractionService.PromptConfirmation
Method
type InteractionService interface { // ... omitted for brevity PromptConfirmation( title string, message string, options ...*PromptConfirmationOptions, ) (*BoolInteractionResult, error)}Signature
method
PromptConfirmation Prompts the user for confirmation with an OK/Cancel dialog.
PromptConfirmation( title string, message string, options ...*PromptConfirmationOptions,) (*BoolInteractionResult, error)Parameters
titlestringmessagestringoptions...*PromptConfirmationOptions Optional settings, described under Options.Options
Optional parameters are passed in a trailing options ...*PromptConfirmationOptions argument.
Options*InteractionMessageBoxOptions CancellationToken *CancellationToken Returns
(*BoolInteractionResult, error) Returns (*BoolInteractionResult, error).
Defined on
This method is defined on the following type: