Last updated on 
                
                    Apr 27, 2021
                
            
            
                 | 
                
                    Also applies to ColdFusion
                
            
        
        
            
        
    
Getting Accelerometer options
You can get the Accelerometer options using the getOptions() function
Method summary
getOptions()  | 
   
- returns – Options object
 - params
- None
 
 
For instance,
<cfset opt = cfclient.accelerometer.getOptions()>  | 
   
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)