DeviceData
From Xojo Documentation
Class (inherits from Object)
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.
Enumerations | |||
|
Properties | |||||||||||
|
Notes
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.
Compatibility
iOS project types on iOS and iPadOS operating systems.
See Also
System module