Method SetPrimaryAction
SetPrimaryAction(int, string, Action)
Bind an Action as a the primary action of the Alert.
Declaration
public void SetPrimaryAction(int actionId, string displayText, Action callback)
Parameters
| Type | Name | Description |
|---|---|---|
| int | actionId | The Action Identifier. |
| string | displayText | The text to display inside the action's button. |
| Action | callback | The callback invoked if the action is triggered. |