package com.metaio.sdk.jni;

import java.io.File;

public class ImageCaptureComponentBase extends IImageCaptureComponent
{
  private long swigCPtr;

  public ImageCaptureComponentBase()
  {
    this(MetaioSDKJNI.new_ImageCaptureComponentBase(), true);
    MetaioSDKJNI.ImageCaptureComponentBase_director_connect(this, this.swigCPtr, this.swigCMemOwn, false);
  }

  public ImageCaptureComponentBase(long paramLong, boolean paramBoolean)
  {
    super(MetaioSDKJNI.ImageCaptureComponentBase_SWIGUpcast(paramLong), paramBoolean);
    this.swigCPtr = paramLong;
  }

  public static long getCPtr(ImageCaptureComponentBase paramImageCaptureComponentBase)
  {
    if (paramImageCaptureComponentBase == null)
      return 0L;
    return paramImageCaptureComponentBase.swigCPtr;
  }

  public void delete()
  {
    try
    {
      if (this.swigCPtr != 0L)
      {
        if (this.swigCMemOwn)
        {
          this.swigCMemOwn = false;
          MetaioSDKJNI.delete_ImageCaptureComponentBase(this.swigCPtr);
        }
        this.swigCPtr = 0L;
      }
      super.delete();
      return;
    }
    finally
    {
    }
  }

  public boolean doneWithFrame(int paramInt, long paramLong)
  {
    if (getClass() == ImageCaptureComponentBase.class)
      return MetaioSDKJNI.ImageCaptureComponentBase_doneWithFrame(this.swigCPtr, this, paramInt, paramLong);
    return MetaioSDKJNI.ImageCaptureComponentBase_doneWithFrameSwigExplicitImageCaptureComponentBase(this.swigCPtr, this, paramInt, paramLong);
  }

  public boolean faceDetectionEnabled()
  {
    if (getClass() == ImageCaptureComponentBase.class)
      return MetaioSDKJNI.ImageCaptureComponentBase_faceDetectionEnabled(this.swigCPtr, this);
    return MetaioSDKJNI.ImageCaptureComponentBase_faceDetectionEnabledSwigExplicitImageCaptureComponentBase(this.swigCPtr, this);
  }

  protected void finalize()
  {
    delete();
  }

  public long getBuffersCount()
  {
    return MetaioSDKJNI.ImageCaptureComponentBase_getBuffersCount(this.swigCPtr, this);
  }

  public Camera getCamera()
  {
    if (getClass() == ImageCaptureComponentBase.class);
    for (long l = MetaioSDKJNI.ImageCaptureComponentBase_getCamera(this.swigCPtr, this); ; l = MetaioSDKJNI.ImageCaptureComponentBase_getCameraSwigExplicitImageCaptureComponentBase(this.swigCPtr, this))
      return new Camera(l, true);
  }

  public Frame getFrameAt(int paramInt)
  {
    long l = MetaioSDKJNI.ImageCaptureComponentBase_getFrameAt(this.swigCPtr, this, paramInt);
    if (l == 0L)
      return null;
    return new Frame(l, false);
  }

  public long[] getM_frameMonotonicIndices()
  {
    return MetaioSDKJNI.ImageCaptureComponentBase_m_frameMonotonicIndices_get(this.swigCPtr, this);
  }

  public Frame getNextFrame()
  {
    if (getClass() == ImageCaptureComponentBase.class);
    for (long l = MetaioSDKJNI.ImageCaptureComponentBase_getNextFrame(this.swigCPtr, this); l == 0L; l = MetaioSDKJNI.ImageCaptureComponentBase_getNextFrameSwigExplicitImageCaptureComponentBase(this.swigCPtr, this))
      return null;
    return new Frame(l, false);
  }

  public ESCREEN_ROTATION getScreenRotation()
  {
    if (getClass() == ImageCaptureComponentBase.class);
    for (int i = MetaioSDKJNI.ImageCaptureComponentBase_getScreenRotation(this.swigCPtr, this); ; i = MetaioSDKJNI.ImageCaptureComponentBase_getScreenRotationSwigExplicitImageCaptureComponentBase(this.swigCPtr, this))
      return ESCREEN_ROTATION.swigToEnum(i);
  }

  public boolean initialize(Camera paramCamera)
  {
    if (getClass() == ImageCaptureComponentBase.class)
      return MetaioSDKJNI.ImageCaptureComponentBase_initialize(this.swigCPtr, this, Camera.getCPtr(paramCamera), paramCamera);
    return MetaioSDKJNI.ImageCaptureComponentBase_initializeSwigExplicitImageCaptureComponentBase(this.swigCPtr, this, Camera.getCPtr(paramCamera), paramCamera);
  }

  public void lockDoneWithFrameMutex()
  {
    MetaioSDKJNI.ImageCaptureComponentBase_lockDoneWithFrameMutex(this.swigCPtr, this);
  }

  public boolean matchParameters(Camera paramCamera)
  {
    if (getClass() == ImageCaptureComponentBase.class)
      return MetaioSDKJNI.ImageCaptureComponentBase_matchParameters(this.swigCPtr, this, Camera.getCPtr(paramCamera), paramCamera);
    return MetaioSDKJNI.ImageCaptureComponentBase_matchParametersSwigExplicitImageCaptureComponentBase(this.swigCPtr, this, Camera.getCPtr(paramCamera), paramCamera);
  }

  public Frame nextReadFrame()
  {
    long l = MetaioSDKJNI.ImageCaptureComponentBase_nextReadFrame(this.swigCPtr, this);
    if (l == 0L)
      return null;
    return new Frame(l, false);
  }

  public Frame nextWriteFrame()
  {
    long l = MetaioSDKJNI.ImageCaptureComponentBase_nextWriteFrame(this.swigCPtr, this);
    if (l == 0L)
      return null;
    return new Frame(l, false);
  }

  public boolean pause()
  {
    if (getClass() == ImageCaptureComponentBase.class)
      return MetaioSDKJNI.ImageCaptureComponentBase_pause(this.swigCPtr, this);
    return MetaioSDKJNI.ImageCaptureComponentBase_pauseSwigExplicitImageCaptureComponentBase(this.swigCPtr, this);
  }

  public boolean providesSensorValues()
  {
    if (getClass() == ImageCaptureComponentBase.class)
      return MetaioSDKJNI.ImageCaptureComponentBase_providesSensorValues(this.swigCPtr, this);
    return MetaioSDKJNI.ImageCaptureComponentBase_providesSensorValuesSwigExplicitImageCaptureComponentBase(this.swigCPtr, this);
  }

  public void release()
  {
    if (getClass() == ImageCaptureComponentBase.class)
    {
      MetaioSDKJNI.ImageCaptureComponentBase_release(this.swigCPtr, this);
      return;
    }
    MetaioSDKJNI.ImageCaptureComponentBase_releaseSwigExplicitImageCaptureComponentBase(this.swigCPtr, this);
  }

  public void requestImage(IMetaioSDKCallback paramIMetaioSDKCallback, File paramFile, int paramInt1, int paramInt2)
  {
    if (getClass() == ImageCaptureComponentBase.class)
    {
      MetaioSDKJNI.ImageCaptureComponentBase_requestImage(this.swigCPtr, this, IMetaioSDKCallback.getCPtr(paramIMetaioSDKCallback), paramIMetaioSDKCallback, paramFile, paramInt1, paramInt2);
      return;
    }
    MetaioSDKJNI.ImageCaptureComponentBase_requestImageSwigExplicitImageCaptureComponentBase(this.swigCPtr, this, IMetaioSDKCallback.getCPtr(paramIMetaioSDKCallback), paramIMetaioSDKCallback, paramFile, paramInt1, paramInt2);
  }

  public void resetBuffers()
  {
    MetaioSDKJNI.ImageCaptureComponentBase_resetBuffers(this.swigCPtr, this);
  }

  public boolean resume()
  {
    if (getClass() == ImageCaptureComponentBase.class)
      return MetaioSDKJNI.ImageCaptureComponentBase_resume(this.swigCPtr, this);
    return MetaioSDKJNI.ImageCaptureComponentBase_resumeSwigExplicitImageCaptureComponentBase(this.swigCPtr, this);
  }

  public void setCamera(Camera paramCamera)
  {
    if (getClass() == ImageCaptureComponentBase.class)
    {
      MetaioSDKJNI.ImageCaptureComponentBase_setCamera(this.swigCPtr, this, Camera.getCPtr(paramCamera), paramCamera);
      return;
    }
    MetaioSDKJNI.ImageCaptureComponentBase_setCameraSwigExplicitImageCaptureComponentBase(this.swigCPtr, this, Camera.getCPtr(paramCamera), paramCamera);
  }

  public void setFaceDetectionEnabled(boolean paramBoolean)
  {
    if (getClass() == ImageCaptureComponentBase.class)
    {
      MetaioSDKJNI.ImageCaptureComponentBase_setFaceDetectionEnabled(this.swigCPtr, this, paramBoolean);
      return;
    }
    MetaioSDKJNI.ImageCaptureComponentBase_setFaceDetectionEnabledSwigExplicitImageCaptureComponentBase(this.swigCPtr, this, paramBoolean);
  }

  public void setFocusMode(int paramInt)
  {
    if (getClass() == ImageCaptureComponentBase.class)
    {
      MetaioSDKJNI.ImageCaptureComponentBase_setFocusMode(this.swigCPtr, this, paramInt);
      return;
    }
    MetaioSDKJNI.ImageCaptureComponentBase_setFocusModeSwigExplicitImageCaptureComponentBase(this.swigCPtr, this, paramInt);
  }

  public void setM_frameMonotonicIndices(long[] paramArrayOfLong)
  {
    MetaioSDKJNI.ImageCaptureComponentBase_m_frameMonotonicIndices_set(this.swigCPtr, this, paramArrayOfLong);
  }

  public void setScreenRotation(ESCREEN_ROTATION paramESCREEN_ROTATION)
  {
    if (getClass() == ImageCaptureComponentBase.class)
    {
      MetaioSDKJNI.ImageCaptureComponentBase_setScreenRotation(this.swigCPtr, this, paramESCREEN_ROTATION.swigValue());
      return;
    }
    MetaioSDKJNI.ImageCaptureComponentBase_setScreenRotationSwigExplicitImageCaptureComponentBase(this.swigCPtr, this, paramESCREEN_ROTATION.swigValue());
  }

  public void setShouldWriteRenderingImage(boolean paramBoolean)
  {
    if (getClass() == ImageCaptureComponentBase.class)
    {
      MetaioSDKJNI.ImageCaptureComponentBase_setShouldWriteRenderingImage(this.swigCPtr, this, paramBoolean);
      return;
    }
    MetaioSDKJNI.ImageCaptureComponentBase_setShouldWriteRenderingImageSwigExplicitImageCaptureComponentBase(this.swigCPtr, this, paramBoolean);
  }

  public boolean start()
  {
    if (getClass() == ImageCaptureComponentBase.class)
      return MetaioSDKJNI.ImageCaptureComponentBase_start(this.swigCPtr, this);
    return MetaioSDKJNI.ImageCaptureComponentBase_startSwigExplicitImageCaptureComponentBase(this.swigCPtr, this);
  }

  public boolean stop()
  {
    if (getClass() == ImageCaptureComponentBase.class)
      return MetaioSDKJNI.ImageCaptureComponentBase_stop(this.swigCPtr, this);
    return MetaioSDKJNI.ImageCaptureComponentBase_stopSwigExplicitImageCaptureComponentBase(this.swigCPtr, this);
  }

  public boolean supportsRealTimeFaceDetection()
  {
    if (getClass() == ImageCaptureComponentBase.class)
      return MetaioSDKJNI.ImageCaptureComponentBase_supportsRealTimeFaceDetection(this.swigCPtr, this);
    return MetaioSDKJNI.ImageCaptureComponentBase_supportsRealTimeFaceDetectionSwigExplicitImageCaptureComponentBase(this.swigCPtr, this);
  }

  protected void swigDirectorDisconnect()
  {
    this.swigCMemOwn = false;
    delete();
  }

  public void swigReleaseOwnership()
  {
    this.swigCMemOwn = false;
    MetaioSDKJNI.ImageCaptureComponentBase_change_ownership(this, this.swigCPtr, false);
  }

  public void swigTakeOwnership()
  {
    this.swigCMemOwn = true;
    MetaioSDKJNI.ImageCaptureComponentBase_change_ownership(this, this.swigCPtr, true);
  }

  public void unlockDoneWithFrameMutex()
  {
    MetaioSDKJNI.ImageCaptureComponentBase_unlockDoneWithFrameMutex(this.swigCPtr, this);
  }

  public void writeFinished(long paramLong)
  {
    MetaioSDKJNI.ImageCaptureComponentBase_writeFinished(this.swigCPtr, this, paramLong);
  }
}

/* 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.ImageCaptureComponentBase
 * JD-Core Version:    0.6.2
 */