We use ARDK for our product but I have an request about a function of checking the devices whatever supported.
Every new device is released, we have to update your SDK version even if our product is not affected, because function of checking return “false” on new device like iphone14.
If return enum like “unknow”, I am possible to branch showing a message e.g.“It is possible that your device is not supported”
The ARWorldTrackingConfiguration.CheckCapabilityAndSupport() method takes a callback method with a defined <ARHardwareCapability, ARSoftwareSupport> signature. Within such a callback method, you can branch your code while checking against the ARHardwareCapability enum in order to react to different hardware capability states.
An example of this functionality can be viewed on the Validate Device Requirements documentation page, under the Sample Code section here. The example callback method’s full signature is…
That’s correct. The intended workflow is to check for general device capability for AR world tracking while prompting the user to install and/or update any prerequisite software (such as ARCore) as necessary. Then, you may check the device for individual feature support that’s required for your application – such as semantic segmentation or meshing – and react accordingly.