Interface ImageReleaser


  • public interface ImageReleaser
    Only android interface. The interface required for the correct closing of java image, after pointers of the image planes have been freed on the cpp side.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void addRef()
      Increments the reference count by 1 for an interface pointer to a object.
      void addRefCount​(int number)
      Increments the reference count by number for an interface pointer to a object.
      void release()
      Decrements the reference count for an interface on a COM object.
    • Method Detail

      • addRef

        void addRef()
        Increments the reference count by 1 for an interface pointer to a object. MUST be called before release().
      • addRefCount

        void addRefCount​(int number)
        Increments the reference count by number for an interface pointer to a object.
        Parameters:
        number - number of add ref. MUST be called before release().
      • release

        void release()
        Decrements the reference count for an interface on a COM object. After the last ref is deleted, the java image will be closed(released). MUST be called from the deleters of bnb::color_plane.