OhioScreenWaitForCursorAsync Method |
Waits for the cursor to appear at the position.
Namespace: Flex.Hal.OhioAssembly: Flex.Hal.Ohio (in Flex.Hal.Ohio.dll) Version: 6.0.8219.1880
Syntax public Task<bool> WaitForCursorAsync(
int pos,
CancellationToken canceltoken = default
)
Public Function WaitForCursorAsync (
pos As Integer,
Optional canceltoken As CancellationToken = Nothing
) As Task(Of Boolean)
Parameters
- pos Int32
- Position to wait for.
- canceltoken CancellationToken (Optional)
- Token to cancel the wait.
Return Value
TaskBooleanTrue if the cursor appears at the position before a time-out or cancellation;
otherwise, false.
Exceptions See Also