PaymentQRCodeReader

public class PaymentQRCodeReader

Internal use only. Reads the first supported QRCode payment data from images.

See PaymentQRCodeParser for supported formats.

Types

Listener
Link copied to clipboard
public interface Listener
Internal use only.

Functions

newInstance
Link copied to clipboard
static PaymentQRCodeReader newInstance(@NonNull() QRCodeDetectorTask qrCodeDetectorTask)
Create a new instance which uses the provided QRCodeDetectorTask to do QRCode detection.
readFromImage
Link copied to clipboard
void readFromImage(@NonNull() Array<byte> image, @NonNull() Size imageSize, int rotation)
Reads the first supported QRCode payment data from the image.
release
Link copied to clipboard
void release()
Release all resources.
setListener
Link copied to clipboard
void setListener(@Nullable() PaymentQRCodeReader.Listener listener)