Interface HighResolutionImageListener

  • All Implemented Interfaces:

    
    public interface HighResolutionImageListener
    
                        

    A Listener for taken photos via takeHighResolutionImage() method.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      abstract void onImageTaken(AnylineImage image) This method is called asynchronously once a picture was successfully taken.
      abstract void onError(Throwable e) This method is called if there was an error taking the picture.
      • Methods inherited from class java.lang.Object

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

    • Method Detail

      • onImageTaken

         abstract void onImageTaken(AnylineImage image)

        This method is called asynchronously once a picture was successfully taken.

        Parameters:
        image - The full image taken via the camera
      • onError

         abstract void onError(Throwable e)

        This method is called if there was an error taking the picture. This is most probably an OutOfMemoryError caused by not caching and releasing the previously taken pictures properly.

        Parameters:
        e - The error that was thrown