GetSelectionObserverAsync Method
Overloads
| GetSelectionObserverAsync(IApp, String) |
Create a SelectionObserver instance. |
GetSelectionObserverAsync(IApp, String)
Create a SelectionObserver instance.
Declaration
public static Task<ISelectionObserver> GetSelectionObserverAsync(IApp app, string stateName = null)
Parameters
| Type | Name | Description |
|---|---|---|
| IApp | app |
The app to observe. |
| System.String | stateName |
The name of the selection state to observe. |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<ISelectionObserver> |
An ISelectionObserver instance. |