androidinfrared

How to check if device has infra-red in Android?


How do I know if device has Infra-red hardware in android pragmatically?

I want to have some things to be done based on this. I tried using something like below, but no luck.

this.getPackageManager().hasSystemFeature( .. various constants ..) 

Solution

  • Use ConsumerIrManager.hasIrEmitter()