Method SetAction
SetAction(int, string, Action)
Set an Action to display in the Toast bar.
Declaration
public Toast SetAction(int actionId, string msg, Action callback)
Parameters
Type | Name | Description |
---|---|---|
int | actionId | The Action ID |
string | msg | The raw message or Localization dictionary key for the message to be displayed. |
Action | callback | The Action callback. |
Returns
Type | Description |
---|---|
Toast | The current toast. |