I'm setting up a biometric login using kotlin. I have it working but I would like to switch out which icon is displayed based on the available hardware, ie. show a retinal scanner icon for retinal scanning, fingerprint for fingerprint scanning etc. So far digging through the docs I haven't been able to find a way to determine this and the google machine hasn't been very useful.
something along the lines of
when (biometricManager.biometricType) {
face -> {}
fingerprint -> {}
retinaScanner -> {}
}
would be awesome. Does this exist?