Table of Contents

Class IosDeviceInfo

Namespace
Ranorex.Core.Remoting.Data
Assembly
Ranorex.Core.dll

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

double

Properties

AccessoryInfo

Information about attached accessories if there are any.

public string AccessoryInfo { get; set; }

Property Value

string

ActiveMemory

Memory used by running apps.

public int ActiveMemory { get; set; }

Property Value

int

AvailableMemory

Available memory in MB.

public int AvailableMemory { get; set; }

Property Value

int

BatteryLevel

Battery level ranging from 0.0 to 1.0 (0% - 100%).

public double BatteryLevel { get; set; }

Property Value

double

BatteryLevelInfo

Battery load status in percent and status of battery (charing, plugged in, ...)

public string BatteryLevelInfo { get; set; }

Property Value

string

BusFrequency

Bus frequency in MHz.

public string BusFrequency { get; set; }

Property Value

string

CarrierIosCountryCode

Carrier ISO country code.

public string CarrierIosCountryCode { get; set; }

Property Value

string

CarrierMobileCountryCode

Carrier country code.

public string CarrierMobileCountryCode { get; set; }

Property Value

string

CarrierMobileNetworkCode

Carrier mobile network code.

public string CarrierMobileNetworkCode { get; set; }

Property Value

string

CarrierName

Name of the carrier.

public string CarrierName { get; set; }

Property Value

string

CellAddress

Cell address of the device. Works only with valid SIM information.

public string CellAddress { get; set; }

Property Value

string

CpuFrequency

CPU frequency in MHz.

public string CpuFrequency { get; set; }

Property Value

string

CpuUsage

Current CPU usage when fetching the device information.

public double CpuUsage { get; set; }

Property Value

double

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

string

DiskSpace

Total disk space in MB.

public int DiskSpace { get; set; }

Property Value

int

FreeDiskSpace

Free disk space in MB.

public int FreeDiskSpace { get; set; }

Property Value

int

FreeMemory

Free system memory in MB.

public int FreeMemory { get; set; }

Property Value

int

InactiveMemory

Memory recently used by apps but not freed yet.

public int InactiveMemory { get; set; }

Property Value

int

IpAddress

IP Address of the device.

public string IpAddress { get; set; }

Property Value

string

IsMirroringSupported

Bool indicating if the device supports mirroring.

public bool IsMirroringSupported { get; set; }

Property Value

bool

IsRetina

Boolean indicating if the given device has a retina display.

public bool IsRetina { get; set; }

Property Value

bool

NetworkBytesReceived

Number of bytes received over the network adapter.

public int NetworkBytesReceived { get; set; }

Property Value

int

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

int

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

string

PurgableMemory

Memory that can be freed.

public int PurgableMemory { get; set; }

Property Value

int

ReadingLocaleDescription

Device display language extended description e.g. 'en English (United States)'

public string ReadingLocaleDescription { get; set; }

Property Value

string

ReadingLocaleLanguage

Device display language e.g. 'en'.

public string ReadingLocaleLanguage { get; set; }

Property Value

string

ScreenBrightness

Value indicating the screen brightness with range 0.0 - 1.0 (0 - 100%).

public double ScreenBrightness { get; set; }

Property Value

double

ScreenScale

Scale factor of the display.

public double ScreenScale { get; set; }

Property Value

double

SystemUpTime

Time since the device or simulator host system is up and running.

public string SystemUpTime { get; set; }

Property Value

string

TotalMemory

Total system memory in MB.

public int TotalMemory { get; set; }

Property Value

int

UsedMemory

Used system memory in MB.

public int UsedMemory { get; set; }

Property Value

int

WiredMemory

Memory used by the OS.

public int WiredMemory { get; set; }

Property Value

int