[Question] Barcode scanner

so would a scripting call for that then be perspective.session.onBarcodeDataRecieved or system.perspective.session.onBarcodeDataRecieved? (Or something else?)