title: Xamarin.Forms equivalent to overriding iOS's SendEvent
body: <p>I'm working on inactivity detection.</p>
  <p>I have successfully done so in iOS by subclassing <code>UIApplication</code> and overriding <code>SendEvent</code> as outlined <a href="https://web.archive.org/web/20200222102620/http://www.pranavkhandelwal.com/blog/2015/11/1/detecting-user-inactivityidle-time-for-xamarinios" rel="nofollow noreferrer">here</a>.</p>
  <p>I know I could implement this separately for both iOS and Android, but I'd rather have a cross-platform Forms approach by intercepting all touch events and resetting my timers. I'd rather not have to add a touch event handler to all my pages either.</p>