Skip to main content
Version: 9.0

Alerts

To display an Alert you can use the IAlerts interface directly or through the aggregate service INotifications as follows:

await notifications.Alert.DisplayAsync("Alert", "You have been alerted");

Simple Alert

The Alert can also be used to prompt a user for a boolean (yes/no) response.

await notifications.Alert.DisplayAsync("Question?", "Would you like to play a game", "Yes", "No");

Two Button Alert