getPeriodicDelay(_:interval:)
Returns by reference the delay and interval periods for a continuous button.
Declaration
func getPeriodicDelay(_ delay: UnsafeMutablePointer<Float>, interval: UnsafeMutablePointer<Float>)Parameters
- delay:
On return, the amount of time (in seconds) the button will pause before starting to periodically send action messages to the target object. The default delay is taken from a user’s default (60 seconds maximum). If the user hasn’t specified a default value,
delaydefaults to 0.4 seconds, - interval:
On return, the amount of time (in seconds) the button will pause between sending each action message. The default interval is taken from a user’s default (60 seconds maximum). If the user hasn’t specified a default value,
intervaldefaults to 0.075 seconds.