/**
  * How often to retrieve the Acceleration in milliseconds. (Default: 10000)
  *
  * @param value
  */
 public void setFrequency(double value) {
   JsoHelper.setAttribute(jsObj, Attributes.FREQUENCY.getValue(), value);
 }
 private int _getCode() {
   return JsoHelper.getAttributeAsInt(jsObj, Attributes.CODE.getValue());
 }
 public AccelerometerOptions() {
   jsObj = JsoHelper.createObject();
 }
 /**
  * Gets the change in degrees required to initiate a watchHeading success callback.
  *
  * @return double
  */
 public double getFilter() {
   return JsoHelper.getAttributeAsDouble(jsObj, "filter");
 }
 /**
  * Sets the change in degrees required to initiate a watchHeading success callback.
  *
  * @param value
  */
 public void setFilter(double value) {
   JsoHelper.setAttribute(jsObj, "filter", value);
 }
 /**
  * Gets how often to retrieve the compass heading, in milliseconds. Default value is 100.
  *
  * @return double
  */
 public double getFrequency() {
   return JsoHelper.getAttributeAsDouble(jsObj, "frequency");
 }
 /**
  * Sets how often to retrieve the compass heading, in milliseconds.
  *
  * @param value
  */
 public void setFrequency(double value) {
   JsoHelper.setAttribute(jsObj, "frequency", value);
 }
 public CompassOptions() {
   jsObj = JsoHelper.createObject();
 }