getting device mode changes inside the android app


I am currently using zebra 8500 on both RFID and scanner mode and it works well to switch between modes. I can toggle modes from inside the code so user can toggle by clicking on soft button. my problem is that I'm looking for a method or something that would let me know when the user is toggling the mode by pressing hardware button so I can show the state change on the app to the user.
I'm using Config.setTriggerMode to toggle from inside the code and looking for something like Config.getTriggerMode which doesn't exist.
I'll appreciate any solutions for this problem.