Hello.

I want to catch plug/unplug events of headphone. 
Could anybody explain where I need to search?

Regards,
Dmitry