Xamarin.UITest Guides | Samples

Xamarin.UITest.iOS.iOSDevice Class

Runtime information and control of device.

See Also: iOSDevice

Syntax

public class iOSDevice : IDevice

Requirements

Namespace: Xamarin.UITest.iOS
Assembly: Xamarin.UITest (in Xamarin.UITest.dll)
Assembly Versions: 22.0.0.0

The members of Xamarin.UITest.iOS.iOSDevice are listed below.

See Also: Object

Public Properties

[read-only]
DeviceIdentifierString. The identifier of the device.
[read-only]
DeviceUriUri. The uri of the device.
[read-only]
IsPhoneBoolean. Whether the current test is running on a phone.
[read-only]
IsSimulatorBoolean. Whether the current test is running on a simulator.
[read-only]
IsTabletBoolean. Whether the current test is running on a tablet.
[read-only]
OSVersionIVersionNumber. What iOS version is running on the device/simulator

Public Methods

SetLocation(Double, Double)
Change GPS location of the device.