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

连接

将设备连接到应用程序。

定义

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

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

重载

重载描述
Connect(Device, Application, ConnectionOptions)连接设备和应用程序对象。
Connect(string, string, ConnectionOptions)按照移动设备管理器中的配置连接设备和应用程序。

Connect(Device, Application, ConnectionOptions)

连接设备和应用程序对象。

Connect(
	    Device device,
	    Application application = null,
	    ConnectionOptions options = null
)Connect(
	    Device device,
	    Application application = null,
	    ConnectionOptions options = null
)
device 设备
要连接的设备对象。
application 应用程序
在移动设备管理器中配置的应用程序对象。
options ConnectionOptions (可选)
用于进一步配置连接的选项。

Connect(string, string, ConnectionOptions)

按照移动设备管理器中的配置连接设备和应用程序。

Connect(
	    string name,
	    string applicationName = null,
	    ConnectionOptions options = null
)Connect(
	    string name,
	    string applicationName = null,
	    ConnectionOptions options = null
)
name 字符串
在移动设备管理器中配置的设备名称。
applicationName 字符串
在移动设备管理器中配置的应用程序名称。
options ConnectionOptions (可选)
用于进一步配置连接的选项。

返回值

Connection

一个连接对象,通过该对象可以使用移动自动化 API。

此页面是否有帮助?

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