PromptConfirmation
Method
func (InteractionService) 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).
Applies to
This method applies to the following types: