From Xojo Documentation
|You are currently browsing the old Xojo documentation site. Please visit the new Xojo documentation site!|
| This class is supported on iOS.
Use ＃If...＃Endif with the Target... constants to ensure you only use this class where it is supported.
New in 2020r2
Provides information about the mobile device such as battery level, orientation and more.
When checking both battery and proximity information, it's important to keep the duration of time in which the app is monitoring this data to a minimum as doing so uses more battery power than usual.
You can get the DeviceData by accessing the System.Device method. DeviceData exists in the System module, so to access its enumerations, use System.DeviceData.
iOS project types on iOS and iPadOS operating systems.