DevicePopups
Wisej.Hybrid.DevicePopups
Last updated
Wisej.Hybrid.DevicePopups
Last updated
Namespace: Wisej.Hybrid
Assembly: Wisej.Hybrid (3.5.0.0)
Provides methods to show popups.
Access this class through the Device singleton.
Initializes a new instance of DevicePopups.
Displays a native platform action sheet, allowing the application user to choose from several buttons.
title
Title of the displayed action sheet. Must not be null.
cancel
Text to be displayed in the 'Cancel' button. Can be null to hide the cancel action.
destruction
Text to be displayed in the 'Destruct' button. Can be null to hide the destructiveoption.
direction
The flow direction of the items.
buttons
Text labels for additional buttons. Must not be null.
Returns: String. The selected button.
Presents an alert dialog to the application user with a single cancel button.
title
The title of the alert dialog.
message
The body text of the alert dialog.
Text to be displayed on the 'Cancel' button.
Shows a modal prompt.
title
The title of the prompt
message
The message of the prompt
The accept button text
The cancel button text
The text placeholder
The maximum length of the text
The keyboard to use
The initial text value
Returns: String. The result of the prompt.
cancel
accept
cancel
placeholder
maxLength
keyboard
initialValue