Package com.appliedrec.verid.ui2
Class VerIDImageIterator
- java.lang.Object
-
- com.appliedrec.verid.ui2.VerIDImageIterator
-
- All Implemented Interfaces:
android.media.ImageReader.OnImageAvailableListener
,IImageIterator
,java.lang.Iterable<IImageProvider>
,java.util.Iterator<IImageProvider>
public class VerIDImageIterator extends java.lang.Object implements IImageIterator
Default implementation ofIImageIterator
- Since:
- 2.0.0
-
-
Constructor Summary
Constructors Constructor Description VerIDImageIterator(android.content.Context context)
VerIDImageIterator(VerID verID)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
activate()
void
deactivate()
boolean
hasNext()
java.util.Iterator<IImageProvider>
iterator()
IImageProvider
next()
void
onImageAvailable(android.media.ImageReader imageReader)
Callback that is called when a new image is available from ImageReader.void
setExifOrientation(int exifOrientation)
-
-
-
Method Detail
-
iterator
@NonNull public java.util.Iterator<IImageProvider> iterator()
- Specified by:
iterator
in interfacejava.lang.Iterable<IImageProvider>
-
hasNext
public boolean hasNext()
- Specified by:
hasNext
in interfacejava.util.Iterator<IImageProvider>
-
next
public IImageProvider next()
- Specified by:
next
in interfacejava.util.Iterator<IImageProvider>
-
onImageAvailable
public void onImageAvailable(android.media.ImageReader imageReader)
Description copied from interface:android.media.ImageReader.OnImageAvailableListener
Callback that is called when a new image is available from ImageReader.- Specified by:
onImageAvailable
in interfaceandroid.media.ImageReader.OnImageAvailableListener
- Parameters:
imageReader
- the ImageReader the callback is associated with.- See Also:
ImageReader
,Image
-
setExifOrientation
public void setExifOrientation(int exifOrientation)
- Specified by:
setExifOrientation
in interfaceIImageIterator
-
activate
public void activate()
- Specified by:
activate
in interfaceIImageIterator
-
deactivate
public void deactivate()
- Specified by:
deactivate
in interfaceIImageIterator
-
-