Class IosDeviceInfo
DataStucture that holds all iOS device infos. If no infos could be fetched (e.g. when the RxDeviceInfos library is not linked to the application under test) from the device, the corresponding property will be set to a default value. The default value for bool properties is false. The default value for string is null. The default value for numeric types is -1. Please note that he iOS simulator will deliver values for device infos but their values will be based on hardware specifications of the simulator host system. For more information how the get valid device infos from an iOS device or simulator see.
public class IosDeviceInfo : DeviceInfo
- Inheritance
-
IosDeviceInfo
- Inherited Members
Remarks
Note that the information that can be retrieved can vary depending on device and iOS version.
Constructors
IosDeviceInfo()
public IosDeviceInfo()
Fields
NotAvailable
Constant for not available device information.
public const double NotAvailable = -1
Field Value
Properties
AccessoryInfo
Information about attached accessories if there are any.
public string AccessoryInfo { get; set; }
Property Value
ActiveMemory
Memory used by running apps.
public int ActiveMemory { get; set; }
Property Value
AvailableMemory
Available memory in MB.
public int AvailableMemory { get; set; }
Property Value
BatteryLevel
Battery level ranging from 0.0 to 1.0 (0% - 100%).
public double BatteryLevel { get; set; }
Property Value
BatteryLevelInfo
Battery load status in percent and status of battery (charing, plugged in, ...)
public string BatteryLevelInfo { get; set; }
Property Value
BusFrequency
Bus frequency in MHz.
public string BusFrequency { get; set; }
Property Value
CarrierIosCountryCode
Carrier ISO country code.
public string CarrierIosCountryCode { get; set; }
Property Value
CarrierMobileCountryCode
Carrier country code.
public string CarrierMobileCountryCode { get; set; }
Property Value
CarrierMobileNetworkCode
Carrier mobile network code.
public string CarrierMobileNetworkCode { get; set; }
Property Value
CarrierName
Name of the carrier.
public string CarrierName { get; set; }
Property Value
CellAddress
Cell address of the device. Works only with valid SIM information.
public string CellAddress { get; set; }
Property Value
CpuFrequency
CPU frequency in MHz.
public string CpuFrequency { get; set; }
Property Value
CpuUsage
Current CPU usage when fetching the device information.
public double CpuUsage { get; set; }
Property Value
Remarks
This is a very inaccurate value and should not be used for essential performance indicators during automation.
DeviceSpecifier
Device name e.g. 'iPad Standard'.
public string DeviceSpecifier { get; set; }
Property Value
DiskSpace
Total disk space in MB.
public int DiskSpace { get; set; }
Property Value
FreeDiskSpace
Free disk space in MB.
public int FreeDiskSpace { get; set; }
Property Value
FreeMemory
Free system memory in MB.
public int FreeMemory { get; set; }
Property Value
InactiveMemory
Memory recently used by apps but not freed yet.
public int InactiveMemory { get; set; }
Property Value
IpAddress
IP Address of the device.
public string IpAddress { get; set; }
Property Value
IsMirroringSupported
Bool indicating if the device supports mirroring.
public bool IsMirroringSupported { get; set; }
Property Value
IsRetina
Boolean indicating if the given device has a retina display.
public bool IsRetina { get; set; }
Property Value
NetworkBytesReceived
Number of bytes received over the network adapter.
public int NetworkBytesReceived { get; set; }
Property Value
Remarks
This value will be heavily influenced by the Ranorex and therefore should not be used for essential automation purposes.
NetworkBytesSent
Number of bytes sent over the network adapter.
public int NetworkBytesSent { get; set; }
Property Value
Remarks
This value will be heavily influenced by the Ranorex and therefore should not be used for essential automation purposes.
ProcessorInfo
General CPU information.
public string ProcessorInfo { get; set; }
Property Value
PurgableMemory
Memory that can be freed.
public int PurgableMemory { get; set; }
Property Value
ReadingLocaleDescription
Device display language extended description e.g. 'en English (United States)'
public string ReadingLocaleDescription { get; set; }
Property Value
ReadingLocaleLanguage
Device display language e.g. 'en'.
public string ReadingLocaleLanguage { get; set; }
Property Value
ScreenBrightness
Value indicating the screen brightness with range 0.0 - 1.0 (0 - 100%).
public double ScreenBrightness { get; set; }
Property Value
ScreenScale
Scale factor of the display.
public double ScreenScale { get; set; }
Property Value
SystemUpTime
Time since the device or simulator host system is up and running.
public string SystemUpTime { get; set; }
Property Value
TotalMemory
Total system memory in MB.
public int TotalMemory { get; set; }
Property Value
UsedMemory
Used system memory in MB.
public int UsedMemory { get; set; }
Property Value
WiredMemory
Memory used by the OS.
public int WiredMemory { get; set; }