Modifier and Type | Interface and Description |
---|---|
static class |
ISynchronizedInputProvider.SynchronizedInputProviderContext
context object for ISynchronizedInputProvider.
|
Modifier and Type | Method and Description |
---|---|
void |
Cancel()
Cancels listening for input.
|
void |
StartListening(SynchronizedInputType inputType)
Starts listening for input of the specified type.
|
initialize
void Cancel()
If the provider is currently listening for input, it should revert to normal operation.
void StartListening(SynchronizedInputType inputType)
When it finds matching input, the provider checks if the target UI Automation element matches the current element. If they match, the provider raises the UIA_InputReachedTargetEventId event; otherwise, it raises the UIA_InputReachedOtherElementEventId or UIA_InputDiscardedEventId event. The UI Automation provider must discard the input if it is for an element other than this one. This is a one-shot method; after receiving input, the provider stops listening and continues normally. This method returns E_INVALIDOPERATION if the provider is already listening for input.
inputType
- The type of input that is requested to be synchronized.