Click or drag to resize
Ranorex

IosDeviceInfo Class

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.
Inheritance Hierarchy
SystemObject
  Ranorex.Core.Remoting.DataDeviceInfo
    Ranorex.Core.Remoting.DataIosDeviceInfo

Namespace:  Ranorex.Core.Remoting.Data
Assembly:  Ranorex.Core (in Ranorex.Core.dll) Version: 12.7.4-git.38314c06
Syntax
public class IosDeviceInfo : DeviceInfo

The IosDeviceInfo type exposes the following members.

Constructors
  NameDescription
Public methodIosDeviceInfo
Initializes a new instance of the IosDeviceInfo class
Top
Properties
  NameDescription
Public propertyAccessoryInfo
Information about attached accessories if there are any.
Public propertyActiveMemory
Memory used by running apps.
Public propertyAvailableMemory
Available memory in MB.
Public propertyBatteryLevel
Battery level ranging from 0.0 to 1.0 (0% - 100%).
Public propertyBatteryLevelInfo
Battery load status in percent and status of battery (charing, plugged in, ...)
Public propertyBusFrequency
Bus frequency in MHz.
Public propertyCarrierIosCountryCode
Carrier ISO country code.
Public propertyCarrierMobileCountryCode
Carrier country code.
Public propertyCarrierMobileNetworkCode
Carrier mobile network code.
Public propertyCarrierName
Name of the carrier.
Public propertyCellAddress
Cell address of the device. Works only with valid SIM information.
Public propertyCpuFrequency
CPU frequency in MHz.
Public propertyCpuUsage
Current CPU usage when fetching the device information.
Public propertyDeviceSpecifier
Device name e.g. 'iPad Standard'.
Public propertyDiskSpace
Total disk space in MB.
Public propertyFreeDiskSpace
Free disk space in MB.
Public propertyFreeMemory
Free system memory in MB.
Public propertyInactiveMemory
Memory recently used by apps but not freed yet.
Public propertyIpAddress
IP Address of the device.
Public propertyIsMirroringSupported
Bool indicating if the device supports mirroring.
Public propertyIsRetina
Boolean indicating if the given device has a retina display.
Public propertyNetworkBytesReceived
Number of bytes received over the network adapter.
Public propertyNetworkBytesSent
Number of bytes sent over the network adapter.
Public propertyProcessorInfo
General CPU information.
Public propertyPurgableMemory
Memory that can be freed.
Public propertyReadingLocaleDescription
Device display language extended description e.g. 'en English (United States)'
Public propertyReadingLocaleLanguage
Device display language e.g. 'en'.
Public propertyScreenBrightness
Value indicating the screen brightness with range 0.0 - 1.0 (0 - 100%).
Public propertyScreenScale
Scale factor of the display.
Public propertySystemUpTime
Time since the device or simulator host system is up and running.
Public propertyTotalMemory
Total system memory in MB.
Public propertyUsedMemory
Used system memory in MB.
Public propertyWiredMemory
Memory used by the OS.
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Serialized all attributes into a readable string of key value pairs.
(Inherited from DeviceInfo.)
Top
Fields
  NameDescription
Public fieldStatic memberNotAvailable
Constant for not available device information.
Top
Remarks
Note that the information that can be retrieved can vary depending on device and iOS version.
See Also