question

blueleaves avatar image
blueleaves asked Jacob Abrams answered

Differentiate between Clover Devices

Hello, all.

I am wondering:

How can I programmatically figure out which device type is running my application? Essentially, my application needs to figure out if it is a clover mini, station, mobile, etc that is the host device, and then from there the workflow will ensue.

I have found the class: Device in the clover sdk and also another class: DeviceType. Will either of these classes be able to solve this? Perhaps I can use the DeviceType.getModel() method and compare the result to a list of clover device models (if this works where might I be able to find a list of all of the clover models)?

Any information would help. Thanks!

10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

Jacob Abrams avatar image
Jacob Abrams answered
10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Welcome to the
Clover Developer Community