getQRCodeStream

open fun <T> getQRCodeStream(data: T, path: String, squareDimension: Int): FileInputStream

Method to create a squared QRCode and get its stream

Return

stream of the qrcode file created as FileInputStream

Parameters

data

: data to create the QRCode

path

: path where create the file, included the suffix

squareDimension

: dimensions of the square

Throws

when an error is occurred during creation of the file

WriterException

when an error is occurred during creation of the QRCODE


open fun <T> getQRCodeStream(data: T, path: String, width: Int, height: Int): FileInputStream

Method to create a QRCode file and get its stream

Return

stream of the qrcode file created as FileInputStream

Parameters

data

: data to create the QRCode

path

: path where create the file, included the suffix

width

: width of the QRCode

height

: height of the QRCode

Throws

when an error is occurred during creation of the file

WriterException

when an error is occurred during creation of the QRCODE


open fun <T> getQRCodeStream(foregroundColor: String, data: T, path: String, squareDimension: Int): FileInputStream

Method to create a squared QRCode file and get its stream

Return

stream of the qrcode file created as FileInputStream

Parameters

foregroundColor

: color of the QRCode pattern

data

: data to create the QRCode

path

: path where create the file, included the suffix

squareDimension

: dimensions of the square

Throws

when an error is occurred during creation of the file

WriterException

when an error is occurred during creation of the QRCODE


open fun <T> getQRCodeStream(foregroundColor: String, data: T, path: String, width: Int, height: Int): FileInputStream

Method to create a QRCode file and get its stream

Return

the input stream of the qrcode created as FileInputStream

Parameters

foregroundColor

: color of the QRCode pattern

data

: data to create the QRCode

path

: path where create the file, included the suffix

width

: width of the QRCode

height

: height of the QRCode

Throws

when an error is occurred during creation of the file

WriterException

when an error is occurred during creation of the QRCODE


open fun <T> getQRCodeStream(data: T, path: String, squareDimension: Int, backgroundColor: String): FileInputStream

Method to create a squared QRCode file and get its stream

Return

the input stream of the qrcode created as FileInputStream

Parameters

data

: data to create the QRCode

path

: path where create the file, included the suffix

squareDimension

: dimensions of the square

backgroundColor

: background color of the QRCode pattern

Throws

when an error is occurred during creation of the file

WriterException

when an error is occurred during creation of the QRCODE


open fun <T> getQRCodeStream(data: T, path: String, width: Int, height: Int, backgroundColor: String): FileInputStream

Method to create a QRCode file and get its stream

Return

the input stream of the qrcode created as FileInputStream

Parameters

data

: data to create the QRCode

path

: path where create the file, included the suffix

width

: width of the QRCode

height

: height of the QRCode

backgroundColor

: background color of the QRCode pattern

Throws

when an error is occurred during creation of the file

WriterException

when an error is occurred during creation of the QRCODE


open fun <T> getQRCodeStream(data: T, path: String, squareDimension: Int, foregroundColor: String, backgroundColor: String): FileInputStream

Method to create a squared QRCode file and get its stream

Return

the input stream of the qrcode created as FileInputStream

Parameters

data

: data to create the QRCode

path

: path where create the file, included the suffix

squareDimension

: dimensions of the square

foregroundColor

: color of the QRCode pattern

backgroundColor

: background color of the QRCode pattern

Throws

when an error is occurred during creation of the file

WriterException

when an error is occurred during creation of the QRCODE


open fun <T> getQRCodeStream(data: T, path: String, width: Int, height: Int, foregroundColor: String, backgroundColor: String): FileInputStream

Method to create a QRCode file and get its stream

Return

the input stream of the qrcode created as FileInputStream

Parameters

data

: data to create the QRCode

path

: path where create the file, included the suffix

width

: width of the QRCode

height

: height of the QRCode

foregroundColor

: color of the QRCode pattern

backgroundColor

: background color of the QRCode pattern

Throws

when an error is occurred during creation of the file

WriterException

when an error is occurred during creation of the QRCODE