活动
最新
False
横幅背景图像
用户界面自动化活动
上次更新日期 2024年4月26日

设备类

创建要连接的“ Device ”对象。

定义

命名空间:UiPath.MobileAutomation.API.Contracts

程序集:UiPath.MobileAutomation.API(在 UiPath.MobileAutomation.API.dll 中)

语法

public class Devicepublic class Device
Device类型公开以下成员。

构造函数

public Device()public Device()
Device
初始化“ Device ”类的新实例。

属性

功能

<string, string>对的集合,用于指定您连接到的设备的功能。

定义

命名空间:UiPath.MobileAutomation.API.Models

程序集:UiPath.MobileAutomation.API(在 UiPath.MobileAutomation.API.dll 中)

语法

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

DeviceName

要自动化的特定设备的名称(例如iPhone 13 )。

定义

命名空间:UiPath.MobileAutomation.API.Models

程序集:UiPath.MobileAutomation.API(在 UiPath.MobileAutomation.API.dll 中)

语法

Property Value: String

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

显示名称

设备的显示名称。

定义

命名空间:UiPath.MobileAutomation.API.Models

程序集:UiPath.MobileAutomation.API(在 UiPath.MobileAutomation.API.dll 中)

语法

Property Value: String

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

HttpHeaders

<string, string>对的集合,这些对表示要添加到默认 Http 请求的自定义 Http 标头。

定义

命名空间:UiPath.MobileAutomation.API.Models

程序集:UiPath.MobileAutomation.API(在 UiPath.MobileAutomation.API.dll 中)

语法

Property Value: Dictionary< String, String>

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

平台名称

托管浏览器的平台类型。

定义

命名空间:UiPath.MobileAutomation.API.Models

程序集:UiPath.MobileAutomation.API(在 UiPath.MobileAutomation.API.dll 中)

语法

属性值PlatformType
public PlatformType PlatformName { get; }public PlatformType PlatformName { get; }

PlatformVersion

平台的版本(例如,对于 iOS,为16.0 )。

定义

命名空间:UiPath.MobileAutomation.API.Models

程序集:UiPath.MobileAutomation.API(在 UiPath.MobileAutomation.API.dll 中)

语法

Property Value: String

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

URL

要用于连接到移动设备的 Appium 服务器 URL。

定义

命名空间:UiPath.MobileAutomation.API.Models

程序集:UiPath.MobileAutomation.API(在 UiPath.MobileAutomation.API.dll 中)

语法

Property Value: String

public string Url { get; }public string Url { get; }
  • 定义
  • 语法
  • 构造函数
  • 属性
  • 功能
  • DeviceName
  • 显示名称
  • HttpHeaders
  • 平台名称
  • PlatformVersion
  • URL

此页面是否有帮助?

获取您需要的帮助
了解 RPA - 自动化课程
UiPath Community 论坛
Uipath 白色徽标
信任与安全
© 2005-2024 UiPath. All rights reserved.