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");
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");