title: how to detect screen mirroring
body: <p>I have been wondering if there is any way in the android API (or any other lib/framework) that can help me to detect if my device screen is mirrored using WiDi,Miracast or MHL or basically any other technique for mirroring your screen.</p>
  
  <p>Br,
  Inx</p>