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 void
addImageReceivedEventListener(Event<AnylineImage> imageReceivedEvent)
void
addNativeBarcodeReceivedEventListener(Event<android.util.Pair<AnylineYuvImage,BarcodeResult>> nativeBarcodeReceivedEvent, java.util.List<BarcodeFormat> supportedFormats)
void
enableNativeBarcodeDetection(java.util.List<BarcodeFormat> format)
boolean
isNativeBarcodeDetectionEnabled()
void
removeImageReceivedEventListener(Event<AnylineImage> imageReceivedEvent)
void
removeNativeBarcodeReceivedEventListener(Event<android.util.Pair<AnylineYuvImage,BarcodeResult>> nativeBarcodeReceivedEvent)
-
-
-
Method Detail
-
addImageReceivedEventListener
public void addImageReceivedEventListener(Event<AnylineImage> imageReceivedEvent)
- Specified by:
addImageReceivedEventListener
in interfaceImageProvider
-
removeImageReceivedEventListener
public void removeImageReceivedEventListener(Event<AnylineImage> imageReceivedEvent)
- Specified by:
removeImageReceivedEventListener
in interfaceImageProvider
-
addNativeBarcodeReceivedEventListener
public void addNativeBarcodeReceivedEventListener(Event<android.util.Pair<AnylineYuvImage,BarcodeResult>> nativeBarcodeReceivedEvent, java.util.List<BarcodeFormat> supportedFormats)
- Specified by:
addNativeBarcodeReceivedEventListener
in interfaceNativeBarcodeProvider
-
removeNativeBarcodeReceivedEventListener
public void removeNativeBarcodeReceivedEventListener(Event<android.util.Pair<AnylineYuvImage,BarcodeResult>> nativeBarcodeReceivedEvent)
- Specified by:
removeNativeBarcodeReceivedEventListener
in interfaceNativeBarcodeProvider
-
enableNativeBarcodeDetection
public void enableNativeBarcodeDetection(java.util.List<BarcodeFormat> format)
-
isNativeBarcodeDetectionEnabled
public boolean isNativeBarcodeDetectionEnabled()
-
-