AnsweredAssumed Answered

Check Capabilities

Question asked by paul.haakma on Dec 5, 2018
Latest reply on Dec 9, 2018 by SSuresh-esristaff

The documentation on the new check capabilities AppFramework function is a little light on details at the moment. A few questions:

Which capabilities can be checked for? The intellisense in Qt Creator suggests maybe Appframework.Camera, .Location, .Microphone and .Storage??

Is it possible to test if Bluetooth permission given?

Can we test for Location vs background location independently?

 

Related to those but slightly different, what is the best way to test if gps and Bluetooth are actually enabled on the device? E.g. permission might be granted for location, but the user has the gps actually switched off at the time. What would be the most reliable way to test if it is on, so we could prompt the user to turn it on. 

Outcomes