newInstance

static PaymentQRCodeReader newInstance(@NonNull() QRCodeDetectorTask qrCodeDetectorTask)

Create a new instance which uses the provided QRCodeDetectorTask to do QRCode detection.

Return

new instance

Parameters

qrCodeDetectorTask

a QRCodeDetectorTask implementation