Instance Method

getPeriodicDelay:interval:

Returns by reference the delay and interval periods for a continuous button.

Declaration

- (void)getPeriodicDelay:(float *)delay interval:(float *)interval;

Parameters

delay

On return, the amount of time (in seconds) that the button will pause before starting to periodically send action messages to the target object. Default values are taken from the user's defaults (60 seconds maximum); if the user hasn't specified a default value, this defaults to 0.4 seconds.

interval

On return, the amount of time (in seconds) between each action message. Default values are taken from the user's defaults (60 seconds maximum); if the user hasn't specified a default value, this defaults to 0.075 seconds.

See Also

Managing the Repeat Interval

- setPeriodicDelay:interval:

Sets the message delay and interval for the button.