Class NativeUI
Inheritance
System.Object
NativeUI
Namespace: EasyMobile
Assembly: cs.temp.dll.dll
Syntax
public static class NativeUI
Methods
Alert(String, String)
Shows a one-button alert with the default "OK" button.
Declaration
public static NativeUI.AlertPopup Alert(string title, string message)
Parameters
Type | Name | Description |
---|---|---|
System.String | title | Title. |
System.String | message | Message. |
Returns
Type | Description |
---|---|
NativeUI.AlertPopup | The alert. |
Alert(String, String, String)
Shows a one-button alert with a custom button label.
Declaration
public static NativeUI.AlertPopup Alert(string title, string message, string button)
Parameters
Type | Name | Description |
---|---|---|
System.String | title | Title. |
System.String | message | Message. |
System.String | button | Button. |
Returns
Type | Description |
---|---|
NativeUI.AlertPopup | The one button alert. |
GetCurrentIOSUserInterfaceStyle()
Gets the current user interface style defined by the NativeUI.UserInterfaceStyle enum. This method currently works on iOS only. On Android it always returns Unspecified.
Declaration
public static NativeUI.UserInterfaceStyle GetCurrentIOSUserInterfaceStyle()
Returns
Type | Description |
---|---|
NativeUI.UserInterfaceStyle |
IsShowingAlert()
Determines if an alert popup is being shown.
Declaration
public static bool IsShowingAlert()
Returns
Type | Description |
---|---|
System.Boolean |
|
ShowThreeButtonAlert(String, String, String, String, String)
Shows an alert with 3 buttons.
Declaration
public static NativeUI.AlertPopup ShowThreeButtonAlert(string title, string message, string button1, string button2, string button3)
Parameters
Type | Name | Description |
---|---|---|
System.String | title | Title. |
System.String | message | Message. |
System.String | button1 | Button1. |
System.String | button2 | Button2. |
System.String | button3 | Button3. |
Returns
Type | Description |
---|---|
NativeUI.AlertPopup | The three buttons alert. |
ShowTwoButtonAlert(String, String, String, String)
Shows an alert with 2 buttons.
Declaration
public static NativeUI.AlertPopup ShowTwoButtonAlert(string title, string message, string button1, string button2)
Parameters
Type | Name | Description |
---|---|---|
System.String | title | Title. |
System.String | message | Message. |
System.String | button1 | Button1. |
System.String | button2 | Button2. |
Returns
Type | Description |
---|---|
NativeUI.AlertPopup | The two buttons alert. |