cfclient.accelerometer.setOptions

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>
<cfset cfclient.accelerometer.setOptions(opt)>

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)

Example

See Using the Accelerometer APIs

Get help faster and easier

New user?

Adobe MAX 25

Adobe MAX

The Creativity Conference

Oct 28–30 Los Angeles and online

Adobe MAX

The Creativity Conference

Oct 28–30 Los Angeles and online

Adobe MAX 25

Adobe MAX

The Creativity Conference

Oct 28–30 Los Angeles and online

Adobe MAX

The Creativity Conference

Oct 28–30 Los Angeles and online