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

UI Automation activities

Last updated Mar 13, 2026

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?

Connect

Need help? Support

Want to learn? UiPath Academy

Have questions? UiPath Forum

Stay updated