java.lang.Object
com.gluonhq.attach.magnetometer.Parameters

public class Parameters extends Object
A data structure that allows configuring the MagnetometerService.
Since:
4.0.10
  • Constructor Details

    • Parameters

      public Parameters(double frequency)
      Construct new parameters for MagnetometerService.
      Parameters:
      frequency - the rate with which to update the service
  • Method Details

    • getFrequency

      public double getFrequency()
      Returns:
      the rate with which to update the service
    • toString

      public String toString()
      Overrides:
      toString in class Object