Last updated on
Apr 27, 2021
|
Also applies to ColdFusion
Setting Accelerometer options
You can also set the Accelerometer options using the setOptions() function.
Method summary
setOptions(options) |
- returns – None
- params
- Options object
For instance,
<cfset opt.frequency=20000> |
The Options object
The Options object contains the following parameter:
- frequency – The time delay for invoking the callback function to obtain the Accelerometer data (in milliseconds)