ViewAnnotation
The onscreen context you provide to the system by annotating a view with an app entity.
Declaration
struct ViewAnnotationMentioned in
Overview
Use the ViewAnnotation structure to test whether the currently visible user interface and its views have the expected entity view annotations you created to provide onscreen context to the system. Retrieve visible view annotations using viewAnnotations(), then inspect their selection state and which entities are visible on-screen.