readFromImage

void readFromImage(@NonNull() Array<byte> image, @NonNull() Size imageSize, int rotation)

Reads the first supported QRCode payment data from the image.

Parameters

image

an image byte array

imageSize

size of the image

rotation

rotation to be applied to the image for correct orientation