Class IAOrientationRequest

  • All Implemented Interfaces:
    Parcelable

    public final class IAOrientationRequest
    extends Object
    implements Parcelable
    Class used to specify the sensitivity when requesting heading and orientation changes.
    • Constructor Detail

      • IAOrientationRequest

        public IAOrientationRequest​(double heading,
                                    double orientation)
        Constructor specifying the sensitivity for heading and orientation updates. Negative numbers means no updates are needed. And update is given when the quantity in question has changed by the specified amount.
        Parameters:
        heading - Heading sensitivity in degrees.
        orientation - Orientation sensitivity in degrees.
      • IAOrientationRequest

        protected IAOrientationRequest​(Parcel in)
    • Method Detail

      • getHeadingSensitivity

        public double getHeadingSensitivity()
        Get heading update sensitivity in degrees.
        Returns:
        Sensitivity in degrees.
      • getOrientationSensitivity

        public double getOrientationSensitivity()
        Get orientation update sensitivity in degrees.
        Returns:
        Sensitivity in degrees.