Does anyone have an source code example of how to detect 'take the watch off' in an application or widget?

Does anyone have an source code example of how to detect 'take the watch off' in an application or widget?