Callback function for requesting a barcode type value.

Syntax

function(<BarcodeType> barcodeType)