Mobile Data StudioObject Model › DeviceCollection

The DeviceCollection class details the mobile devices that are currently connected to the Mobile Data Studio server.

This collection can be obtained via the Application.Devices property.

Enumerable

This class can be enumerated with a For Each loop.

Each enumerated item is a String which is either empty or the UnitID of the connected mobile device.

Empty items are connections with the server which have not yet authenticated.

Indexable

This class can be indexed with an Integer index which must be between 1 and the Count property.

Returns a String which is either empty or the UnitID of the connected mobile device at that index.

Empty items are connections with the server which have not yet authenticated.

Properties

Application

Returns the root Application.

Count

Returns the number of mobile device connections as an Integer.

Note that this includes connected but unauthenticated devices, which will return an empty String.