Package io.anyline2.camera
Class CameraView
- java.lang.Object
 - 
- io.anyline.camera.CameraView
 - 
- io.anyline2.camera.CameraView
 
 
 
- 
- All Implemented Interfaces:
 ImageProvider,NativeBarcodeProvider
public class CameraView extends io.anyline.camera.CameraView implements ImageProvider, NativeBarcodeProvider
 
- 
- 
Nested Class Summary
- 
Nested classes/interfaces inherited from interface io.anyline2.image.ImageProvider
ImageProvider.Factory 
- 
Nested classes/interfaces inherited from interface io.anyline2.image.NativeBarcodeProvider
NativeBarcodeProvider.Factory 
 - 
 
- 
Constructor Summary
Constructors Constructor Description CameraView(android.content.Context context)CameraView(android.content.Context context, android.util.AttributeSet attrs)CameraView(android.content.Context context, android.util.AttributeSet attrs, int defStyleAttr) 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddImageReceivedEventListener(Event<AnylineImage> imageReceivedEvent)voidaddNativeBarcodeReceivedEventListener(Event<android.util.Pair<AnylineYuvImage,BarcodeResult>> nativeBarcodeReceivedEvent, java.util.List<BarcodeFormat> supportedFormats)voidenableNativeBarcodeDetection(java.util.List<BarcodeFormat> format)booleanisNativeBarcodeDetectionEnabled()voidremoveImageReceivedEventListener(Event<AnylineImage> imageReceivedEvent)voidremoveNativeBarcodeReceivedEventListener(Event<android.util.Pair<AnylineYuvImage,BarcodeResult>> nativeBarcodeReceivedEvent) 
 - 
 
- 
- 
Method Detail
- 
addImageReceivedEventListener
public void addImageReceivedEventListener(Event<AnylineImage> imageReceivedEvent)
- Specified by:
 addImageReceivedEventListenerin interfaceImageProvider
 
- 
removeImageReceivedEventListener
public void removeImageReceivedEventListener(Event<AnylineImage> imageReceivedEvent)
- Specified by:
 removeImageReceivedEventListenerin interfaceImageProvider
 
- 
addNativeBarcodeReceivedEventListener
public void addNativeBarcodeReceivedEventListener(Event<android.util.Pair<AnylineYuvImage,BarcodeResult>> nativeBarcodeReceivedEvent, java.util.List<BarcodeFormat> supportedFormats)
- Specified by:
 addNativeBarcodeReceivedEventListenerin interfaceNativeBarcodeProvider
 
- 
removeNativeBarcodeReceivedEventListener
public void removeNativeBarcodeReceivedEventListener(Event<android.util.Pair<AnylineYuvImage,BarcodeResult>> nativeBarcodeReceivedEvent)
- Specified by:
 removeNativeBarcodeReceivedEventListenerin interfaceNativeBarcodeProvider
 
- 
enableNativeBarcodeDetection
public void enableNativeBarcodeDetection(java.util.List<BarcodeFormat> format)
 
- 
isNativeBarcodeDetectionEnabled
public boolean isNativeBarcodeDetectionEnabled()
 
 - 
 
 -