Module |
|
Header |
/Engine/Source/Runtime/ApplicationCore/Public/GenericPlatform/Accessibility/GenericAccessibleInterfaces.h |
Include |
#include "GenericPlatform/Accessibility/GenericAccessibleInterfaces.h" |
class FGenericAccessibleMessageHandler
Platform and application-agnostic messaging system for accessible events. The message handler lives in GenericApplication and any subclass that wishes to support accessibility should subclass this and use GenericAppliation::SetAccessibleMessageHandler to enable functionality.
GetAccessibleWindow() is tne entry point to all accessible widgets. Once the window is retrieved, it can be queried for children in various ways. RaiseEvent() allows messages to bubble back up to the native OS through anything bound to the AccessibleEventDelegate.
Callers can use ApplicationIsAccessible() to see if accessibility is supported or not. Alternatively, calling GetAccessibleWindow and seeing if the result is valid should provide the same information.
Name | Description | |
---|---|---|
|
FGenericAccessibleMessageHandler() |
Name | Description | |
---|---|---|
|
~FGenericAccessibleMessageHandler() |
Name | Description | ||
---|---|---|---|
|
ApplicationIsAccessible() |
Subclasses should return true to indicate that they support accessibility. |
|
|
TSharedPtr< ... |
GetAccessibleWidgetFromId ( |
Retrieves an accessible widget that matches the given identifier. |
|
TSharedPtr< ... |
GetAccessibleWindow ( |
Creates or retrieves an accessible object for a native OS window. |
|
AccessibleWi... |
GetAccessibleWindowId ( |
Creates or retrieves the identifier for an accessible object for a native OS window. |
|
IsActive() |
Checks if accessibility is enabled in the application. |
|
|
MakeAccessibleAnnouncement ( |
Request a string to be announced to the user. |
|
|
OnActivate() |
Triggered when bIsActive changes from false to true. |
|
|
OnDeactivate() |
Triggered when bIsActive changes from true to false. |
|
|
RaiseEvent ( |
Push an event from an accessible widget back to the platform layer. |
|
|
RunInThread ( |
Request a function to be run in a particular thread. |
|
|
SetAccessibleEventDelegate ( |
Assign a function to be called whenever an accessible event is raised. |
|
|
SetActive ( |
Notify the application to start or stop processing accessible messages from the platform layer. |
Name |
Description |
---|---|
FAccessibleEvent |
A widget raised an event to pass to the native OS implementation. |