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

UI Automation Activities

Last updated Dec 4, 2024

MobileOptions.PressHardwareButtonOptions Class

Use this class to further configure the PressHardwareButton API.

Definition

Namespace: UiPath.MobileAutomation.API.Models

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

Syntax

public class PressHardwareButtonOptions : TargetOptionspublic class PressHardwareButtonOptions : TargetOptions
The MobileOptions.PressHardwareButtonOptions type exposes the following members.

Constructors

public PressHardwareButtonOptions()public PressHardwareButtonOptions()
MobileOptions.PressHardwareButtonOptions
Initializes a new instance of the MobileOptions.PressHardwareButtonOptions class.

Properties

ContinueOnError Boolean
Specifies if the automation should continue even when the method throws an error. This parameter only supports Boolean values (true, false). The default value is alse. As a result, if the parameter is blank and an error is thrown, the execution of the project stops. If the value is set to true, the execution of the project continues regardless of any error.
DelayAfter
Delay time (in seconds) after executing the method. The default value is 0.3 seconds.
DelayBefore
Delay time (in seconds) before the method begins performing any operations. The default value is 0.2 seconds.
Timeout
Specifies the amount of time (in seconds) to wait for a specified element to be found before an error is thrown. The default value is 30 seconds.
  • Definition
  • Syntax
  • Constructors
  • Properties

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.