ET50 Barcode scanner implementation?

We have Zebra ET50 / ET55 Tablet and developed an application with text edit using Android studio. TextEdit is auto detecting the value of the scanned item from the barcode scanner which is inbuilt with the device. We need a way to detect where after the barcode scan is completed to notify the user (call another function automatically after it finishes populating barcode value in text edit.)

 

Is there anyway to do that? Please provide some documentation or sample code to implement this feature?