Méthode | Description | |
---|---|---|
ShowError ( |
Displays information about an error. Displaying dialogs in Android is synchronous. As such, this method will be executed synchronously even though it can be awaited for cross-platform compatibility purposes. |
|
ShowError ( string message, string title, string buttonText, System.Action afterHideCallback ) : System.Threading.Tasks.Task |
Displays information about an error. Displaying dialogs in Android is synchronous. As such, this method will be executed synchronously even though it can be awaited for cross-platform compatibility purposes. |
|
ShowMessage ( string message, string title ) : System.Threading.Tasks.Task |
Displays information to the user. The dialog box will have only one button with the text "OK". Displaying dialogs in Android is synchronous. As such, this method will be executed synchronously even though it can be awaited for cross-platform compatibility purposes. |
|
ShowMessage ( string message, string title, string buttonText, System.Action afterHideCallback ) : System.Threading.Tasks.Task |
Displays information to the user. The dialog box will have only one button. Displaying dialogs in Android is synchronous. As such, this method will be executed synchronously even though it can be awaited for cross-platform compatibility purposes. |
|
ShowMessage ( string message, string title, string buttonConfirmText, string buttonCancelText, Action |
Displays information to the user. The dialog box will have only one button. Displaying dialogs in Android is synchronous. As such, this method will be executed synchronously even though it can be awaited for cross-platform compatibility purposes. |
|
ShowMessageBox ( string message, string title ) : System.Threading.Tasks.Task |
Displays information to the user in a simple dialog box. The dialog box will have only one button with the text "OK". This method should be used for debugging purposes. Displaying dialogs in Android is synchronous. As such, this method will be executed synchronously even though it can be awaited for cross-platform compatibility purposes. |
Méthode | Description | |
---|---|---|
CreateDialog ( string content, string title, string okText = null, string cancelText = null, Action |
public ShowError ( |
||
error | The exception of which the message must be shown to the user. | |
title | string | The title of the dialog box. This may be null. |
buttonText | string | The text shown in the only button /// in the dialog box. If left null, the text "OK" will be used. |
afterHideCallback | System.Action | A callback that should be executed after /// the dialog box is closed by the user. |
Résultat | System.Threading.Tasks.Task |
public ShowError ( string message, string title, string buttonText, System.Action afterHideCallback ) : System.Threading.Tasks.Task | ||
message | string | The message to be shown to the user. |
title | string | The title of the dialog box. This may be null. |
buttonText | string | The text shown in the only button /// in the dialog box. If left null, the text "OK" will be used. |
afterHideCallback | System.Action | A callback that should be executed after /// the dialog box is closed by the user. |
Résultat | System.Threading.Tasks.Task |
public ShowMessage ( string message, string title ) : System.Threading.Tasks.Task | ||
message | string | The message to be shown to the user. |
title | string | The title of the dialog box. This may be null. |
Résultat | System.Threading.Tasks.Task |
public ShowMessage ( string message, string title, string buttonText, System.Action afterHideCallback ) : System.Threading.Tasks.Task | ||
message | string | The message to be shown to the user. |
title | string | The title of the dialog box. This may be null. |
buttonText | string | The text shown in the only button /// in the dialog box. If left null, the text "OK" will be used. |
afterHideCallback | System.Action | A callback that should be executed after /// the dialog box is closed by the user. |
Résultat | System.Threading.Tasks.Task |
public ShowMessage ( string message, string title, string buttonConfirmText, string buttonCancelText, Action |
||
message | string | The message to be shown to the user. |
title | string | The title of the dialog box. This may be null. |
buttonConfirmText | string | The text shown in the "confirm" button /// in the dialog box. If left null, the text "OK" will be used. |
buttonCancelText | string | The text shown in the "cancel" button /// in the dialog box. If left null, the text "Cancel" will be used. |
afterHideCallback | Action |
A callback that should be executed after /// the dialog box is closed by the user. The callback method will get a boolean /// parameter indicating if the "confirm" button (true) or the "cancel" button /// (false) was pressed by the user. |
Résultat | Task |
public ShowMessageBox ( string message, string title ) : System.Threading.Tasks.Task | ||
message | string | The message to be shown to the user. |
title | string | The title of the dialog box. This may be null. |
Résultat | System.Threading.Tasks.Task |