I am working with finger print authentication using android 5.0 api. My requirement is, if current device is supports finger print authentication, then I will go through finger print authentication else will use normal way, but need to check every device of api 18 and above if they have finger print scanner or not.

So, any one can tell me, how to check device compatibility for finger print authentication in android.

Thanks in advance.