Skip to main content Skip to complementary content

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.

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!