package com.metaio.sdk.jni;

public class SensorValues
{
  protected boolean swigCMemOwn;
  private long swigCPtr;

  public SensorValues()
  {
    this(MetaioSDKJNI.new_SensorValues__SWIG_0(), true);
  }

  public SensorValues(long paramLong, boolean paramBoolean)
  {
    this.swigCMemOwn = paramBoolean;
    this.swigCPtr = paramLong;
  }

  public SensorValues(SensorValues paramSensorValues)
  {
    this(MetaioSDKJNI.new_SensorValues__SWIG_1(getCPtr(paramSensorValues), paramSensorValues), true);
  }

  public static long getCPtr(SensorValues paramSensorValues)
  {
    if (paramSensorValues == null)
      return 0L;
    return paramSensorValues.swigCPtr;
  }

  public void clear()
  {
    MetaioSDKJNI.SensorValues_clear(this.swigCPtr, this);
  }

  public void delete()
  {
    try
    {
      if (this.swigCPtr != 0L)
      {
        if (this.swigCMemOwn)
        {
          this.swigCMemOwn = false;
          MetaioSDKJNI.delete_SensorValues(this.swigCPtr);
        }
        this.swigCPtr = 0L;
      }
      return;
    }
    finally
    {
    }
  }

  protected void finalize()
  {
    delete();
  }

  public Rotation getAttitude()
  {
    long l = MetaioSDKJNI.SensorValues_attitude_get(this.swigCPtr, this);
    if (l == 0L)
      return null;
    return new Rotation(l, false);
  }

  public double getAttitudeTimestamp()
  {
    return MetaioSDKJNI.SensorValues_attitudeTimestamp_get(this.swigCPtr, this);
  }

  public boolean getDeviceIsMoving()
  {
    return MetaioSDKJNI.SensorValues_deviceIsMoving_get(this.swigCPtr, this);
  }

  public Vector3d getGravity()
  {
    long l = MetaioSDKJNI.SensorValues_gravity_get(this.swigCPtr, this);
    if (l == 0L)
      return null;
    return new Vector3d(l, false);
  }

  public double getGravityTimestamp()
  {
    return MetaioSDKJNI.SensorValues_gravityTimestamp_get(this.swigCPtr, this);
  }

  public float getHeading()
  {
    return MetaioSDKJNI.SensorValues_heading_get(this.swigCPtr, this);
  }

  public double getHeadingTimestamp()
  {
    return MetaioSDKJNI.SensorValues_headingTimestamp_get(this.swigCPtr, this);
  }

  public SensorReadingVector getHistoricalAccelerometerVector()
  {
    long l = MetaioSDKJNI.SensorValues_historicalAccelerometerVector_get(this.swigCPtr, this);
    if (l == 0L)
      return null;
    return new SensorReadingVector(l, false);
  }

  public SensorReadingVector getHistoricalGyroscopeVector()
  {
    long l = MetaioSDKJNI.SensorValues_historicalGyroscopeVector_get(this.swigCPtr, this);
    if (l == 0L)
      return null;
    return new SensorReadingVector(l, false);
  }

  public SensorReadingVector getHistoricalMagnetometerVector()
  {
    long l = MetaioSDKJNI.SensorValues_historicalMagnetometerVector_get(this.swigCPtr, this);
    if (l == 0L)
      return null;
    return new SensorReadingVector(l, false);
  }

  public LLACoordinate getLocation()
  {
    long l = MetaioSDKJNI.SensorValues_location_get(this.swigCPtr, this);
    if (l == 0L)
      return null;
    return new LLACoordinate(l, false);
  }

  public boolean hasAttitude()
  {
    return MetaioSDKJNI.SensorValues_hasAttitude(this.swigCPtr, this);
  }

  public boolean hasGravity()
  {
    return MetaioSDKJNI.SensorValues_hasGravity(this.swigCPtr, this);
  }

  public boolean hasHeading()
  {
    return MetaioSDKJNI.SensorValues_hasHeading(this.swigCPtr, this);
  }

  public boolean hasLocation()
  {
    return MetaioSDKJNI.SensorValues_hasLocation(this.swigCPtr, this);
  }

  public void setAttitude(Rotation paramRotation)
  {
    MetaioSDKJNI.SensorValues_attitude_set(this.swigCPtr, this, Rotation.getCPtr(paramRotation), paramRotation);
  }

  public void setAttitudeTimestamp(double paramDouble)
  {
    MetaioSDKJNI.SensorValues_attitudeTimestamp_set(this.swigCPtr, this, paramDouble);
  }

  public void setDeviceIsMoving(boolean paramBoolean)
  {
    MetaioSDKJNI.SensorValues_deviceIsMoving_set(this.swigCPtr, this, paramBoolean);
  }

  public void setGravity(Vector3d paramVector3d)
  {
    MetaioSDKJNI.SensorValues_gravity_set(this.swigCPtr, this, Vector3d.getCPtr(paramVector3d), paramVector3d);
  }

  public void setGravityTimestamp(double paramDouble)
  {
    MetaioSDKJNI.SensorValues_gravityTimestamp_set(this.swigCPtr, this, paramDouble);
  }

  public void setHeading(float paramFloat)
  {
    MetaioSDKJNI.SensorValues_heading_set(this.swigCPtr, this, paramFloat);
  }

  public void setHeadingTimestamp(double paramDouble)
  {
    MetaioSDKJNI.SensorValues_headingTimestamp_set(this.swigCPtr, this, paramDouble);
  }

  public void setHistoricalAccelerometerVector(SensorReadingVector paramSensorReadingVector)
  {
    MetaioSDKJNI.SensorValues_historicalAccelerometerVector_set(this.swigCPtr, this, SensorReadingVector.getCPtr(paramSensorReadingVector), paramSensorReadingVector);
  }

  public void setHistoricalGyroscopeVector(SensorReadingVector paramSensorReadingVector)
  {
    MetaioSDKJNI.SensorValues_historicalGyroscopeVector_set(this.swigCPtr, this, SensorReadingVector.getCPtr(paramSensorReadingVector), paramSensorReadingVector);
  }

  public void setHistoricalMagnetometerVector(SensorReadingVector paramSensorReadingVector)
  {
    MetaioSDKJNI.SensorValues_historicalMagnetometerVector_set(this.swigCPtr, this, SensorReadingVector.getCPtr(paramSensorReadingVector), paramSensorReadingVector);
  }

  public void setLocation(LLACoordinate paramLLACoordinate)
  {
    MetaioSDKJNI.SensorValues_location_set(this.swigCPtr, this, LLACoordinate.getCPtr(paramLLACoordinate), paramLLACoordinate);
  }
}

/* Location:           C:\Documents and Settings\Cesar Cabello Cea\Mis documentos\Downloads\apk-downloader\com.ikea.kompis-6_dex2jar.jar
 * Qualified Name:     com.metaio.sdk.jni.SensorValues
 * JD-Core Version:    0.6.2
 */