Device Type from Groovy?

Is there any way to get the device type from the Groovy API? I didn’t find anything in the documentation, but I may have missed it. Specifically, this column:

Couple of places you can get it, but try device.getTypeName()

3 Likes

Is that even listed in documentation? Been searching for the last 5 mins....

1 Like

Not sure where I found that one to tell you the truth, but I have it in a couple of my early apps so...

1 Like

That works great. Thank you!

2 Likes