public void SetAction (Action clickEvent, long delay, long interval);

Parámetros

clickEventThe action to execute.
delayThe initial delay before the action is executed for the first time.
intervalThe interval between each execution of the action.

Descripción

Set the action that should be executed when the button is pressed.