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

Connect

Connects a device to an application.

Definition

Namespace: UiPath.MobileAutomation.API.Contracts

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

Overloads

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

Connect(Device, Application, ConnectionOptions)

Connects a device and application objects.

Connect(
	    Device device,
	    Application application = null,
	    ConnectionOptions options = null
)Connect(
	    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.

Connect(string, string, ConnectionOptions)

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

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

Return value

Connection

A connection object, through which you can use the mobile automation APIs.

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.