Page 1 of 1

How to identify failed device detections

Posted: Fri Jul 07, 2017 9:10 am
by adclear
Hello,

What would be the best way to identify a failed/not correct detection?
For example if a random character String will be passed as a user-agent and the match results in
a recognized Desktop device.

Thank you in advance.

Re: How to identify failed device detections

Posted: Fri Jul 07, 2017 9:52 am
by aaronp
Hi,

If you would like to identify a failed detection, you could use the advertised_browser virtual capability and if the returned value is a blank or NULL, you will know that the user agent string failed as virtual capabilities are determined through analysis of the user agent during API run-time.

Thanks,

Aaron