System.Device

From Xojo Documentation

You are currently browsing the old Xojo documentation site. Please visit the new Xojo documentation site!
Method

System.Device() As DeviceData

New in 2020r2

Supported on Mobile.

Returns a DeviceData object (singleton) that provides information about the device such as battery level, orientation, model name, etc.

Notes

Sample Code

This example displays the device's model name:

MessageBox(System.Device.Model)

Compatibility

iOS Projects on iOS/iPadOS operating systems.

See Also

DeviceData class.