activities
latest
false
UiPath logo, featuring letters U and I in white
UI Automation Activities
Last updated Nov 25, 2024

ConnectAsync

Connects a device to an application in an asynchronous way.

Definition

Namespace: UiPath.MobileAutomation.API.Contracts

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

Overloads

OverloadDescription
ConnectAsync(Device, Application, ConnectionOptions)Asynchronously connects a device and application objects.
ConnectAsync(string, string, ConnectionOptions)Asynchronously connects a device and application both as configured in Mobile Device Manager.

ConnectAsync(Device, Application, ConnectionOptions)

Asynchronously connects a device and application objects.

ConnectAsync(
	Device device,
	Application application = null,
	ConnectionOptions options = null
)ConnectAsync(
	Device device,
	Application application = null,
	ConnectionOptions options = null
)
device Device
The device object that you want to connect.
application Application
The application object, as configured in Mobile Device Manager.
options ConnectionOptions (Optional)
Options to further configure the connection.

ConnectAsync(string, string, ConnectionOptions)

Asynchronously connects a device and application both as configured in Mobile Device Manager.

ConnectAsync(
	string name,
	string applicationName = null,
	ConnectionOptions options = null
)ConnectAsync(
	string name,
	string applicationName = null,
	ConnectionOptions options = null
)
name String
The name of the device, as configured in Mobile Device Manager.
applicationName String (Optional)
The name of the application, as configured in Mobile Device Manager.
options ConnectionOptions (Optional)
Options to further configure the connection.

Return value

An awaitable Connection object.

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.