activities
latest
false
UiPath logo, featuring letters U and I in white

UI Automation Activities

Last updated Dec 4, 2024

Device Class

Create the Device object, that you want to connect with.

Definition

Namespace: UiPath.MobileAutomation.API.Contracts

Assembly: UiPath.MobileAutomation.API (in UiPath.MobileAutomation.API.dll)

Syntax

public class Devicepublic class Device
The Device type exposes the following members.

Constructors

public Device()public Device()
Device
Initializes a new instance of the Device class.

Properties

Capabilities

A collection of <string, string> pairs that specify the capabilities of the device you are connected to.

Definition

Namespace: UiPath.MobileAutomation.API.Models

Assembly: UiPath.MobileAutomation.API (in UiPath.MobileAutomation.API.dll)

Syntax

Property Value: Dictionary< String, String>
public Dictionary<string, string> Capabilities { get; }public Dictionary<string, string> Capabilities { get; }

DeviceName

The name of a particular device to automate (for example, iPhone 13).

Definition

Namespace: UiPath.MobileAutomation.API.Models

Assembly: UiPath.MobileAutomation.API (in UiPath.MobileAutomation.API.dll)

Syntax

Property Value: String

public string DeviceName { get; }public string DeviceName { get; }

DisplayName

The display name of the device.

Definition

Namespace: UiPath.MobileAutomation.API.Models

Assembly: UiPath.MobileAutomation.API (in UiPath.MobileAutomation.API.dll)

Syntax

Property Value: String

public string DisplayName { get; }public string DisplayName { get; }

HttpHeaders

A collection of <string, string> pairs that represent custom Http Headers that you want to add to the default Http requests.

Definition

Namespace: UiPath.MobileAutomation.API.Models

Assembly: UiPath.MobileAutomation.API (in UiPath.MobileAutomation.API.dll)

Syntax

Property Value: Dictionary< String, String>

public Dictionary<string, string> HttpHeaders { get; }public Dictionary<string, string> HttpHeaders { get; }

PlatformName

The type of platform hosting the browser.

Definition

Namespace: UiPath.MobileAutomation.API.Models

Assembly: UiPath.MobileAutomation.API (in UiPath.MobileAutomation.API.dll)

Syntax

Property Value: PlatformType
public PlatformType PlatformName { get; }public PlatformType PlatformName { get; }

PlatformVersion

The version of a platform (for example, for iOS, 16.0).

Definition

Namespace: UiPath.MobileAutomation.API.Models

Assembly: UiPath.MobileAutomation.API (in UiPath.MobileAutomation.API.dll)

Syntax

Property Value: String

public string PlatformVersion { get; }public string PlatformVersion { get; }

Url

The Appium server URL you want to use to connect to a mobile device.

Definition

Namespace: UiPath.MobileAutomation.API.Models

Assembly: UiPath.MobileAutomation.API (in UiPath.MobileAutomation.API.dll)

Syntax

Property Value: String

public string Url { get; }public string Url { get; }
  • Definition
  • Syntax
  • Constructors
  • Properties
  • Capabilities
  • DeviceName
  • DisplayName
  • HttpHeaders
  • PlatformName
  • PlatformVersion
  • Url

Was this page helpful?

Get The Help You Need
Learning RPA - Automation Courses
UiPath Community Forum
Uipath Logo White
Trust and Security
© 2005-2024 UiPath. All rights reserved.