Interact with Devices

There are multiple features for device interaction in webmate. For example, you can list and delete deployed devices and upload images for camera simulation.

Listing deployed devices

You can get a list of all currently deployed devices in your project by calling

Deleting devices

You can delete currently deployed devices by calling

The call is asynchronous, so depending on the use-case, it is safer to wait until the device was actually released. This can be done by waiting for the number of currently deployed devices to decrease by one. The Util helper is contained in the SDK samples repository (opens in a new tab)

Upload images to use for camera simulation

First you have to load the image as a byte array, which has to be located under resources/packagename/. Then it can be uploaded and used for camera simulation.