Class Parameters


  • public class Parameters
    extends java.lang.Object
    A data structure that allows configuring the MagnetometerService.
    Since:
    4.0.10
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      double getFrequency()  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • Parameters

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

      • getFrequency

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

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object