Activities
latest
false
Banner background image
UI Automation Activities
Last updated Apr 3, 2024

PressHardwareButton

Presses a hardware button on the connected device

Definition

Namespace: UiPath.MobileAutomation.API.Models

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

PressHardwareButton(HardwareButton, MobileOptions.HardwareButtonOptions)

PressHardwareButton(
	HardwareButton button,
	MobileOptions. PressHardwareButtonOptions options = null
)PressHardwareButton(
	HardwareButton button,
	MobileOptions. PressHardwareButtonOptions options = null
)
button HardwareButton
The button you wan to press. The following options are available:
  • HomeButton
  • BackButton
  • SwitchAppButton
options MobileOptions.PressHardwareButtonOptions (Optional)
Specifies the MobileOptions.PressHardwareButtonOptions for the PressHardwareButton action. Default value is null.

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.