How can a verto-based app report which devices verto has chosen to use, esp the mic?

If it's possible that verto changes its choice during a call, perhaps due to a device being just plugged in, how can the app detect this?