Navigation
API > API/Plugins > API/Plugins/ScreenReader > API/Plugins/ScreenReader/GenericPlatform
Inheritance Hierarchy
- FGenericApplicationMessageHandler
- FScreenReaderApplicationMessageHandlerBase
References
| Module | ScreenReader |
| Header | /Engine/Plugins/Experimental/ScreenReader/Source/ScreenReader/Public/GenericPlatform/ScreenReaderApplicationMessageHandlerBase.h |
| Include | #include "GenericPlatform/ScreenReaderApplicationMessageHandlerBase.h" |
Syntax
class FScreenReaderApplicationMessageHandlerBase : public FGenericApplicationMessageHandler
Remarks
The base class all screen reader application message handlers should derive from. By default, this is just a proxy for the underlying target message handler. The screen reader application message handler will intercept all application messages and may perform processing on the events before consuming the event or passing it to the underlying target message handler. Child classes should override the virtual event handlers from FGenericAccessibleMessageHandler to perform input processing for thier needs. For example: A mobile screen reader application message handler can subclass this class and intercept touch inputs to perform gesture detection to provide alternative navigation schemes for users. A desktop screen reader application message handler can subclass this class and intercept mouse movement events to speak widgets that the user mouses over.
Variables
| Type | Name | Description | |
|---|---|---|---|
| FScreenReaderBase & | OwningScreenReader | The screen reader that owns this screen reader application message handler. |
Constructors
| Type | Name | Description | |
|---|---|---|---|
FScreenReaderApplicationMessageHandlerBase
(
const TSharedRef< FGenericApplicationMessageHandler >& InTargetMessageHandler, |
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| TSharedRef< FGenericApplicationMessageHandler > | Returns the underlying message handler that application messages bubble down to if the screen reader application message handler does not handle the event. | ||
| void | SetProcessKeyInput
(
bool bInProcessKeyInput |
Sets whether key inputs should be intercepted and processed. | |
| void | SetProcessMouseInput
(
bool bInProcessMouseInput |
Sets whether mouse events should be intercepted and processed. | |
| bool | Retursn true if the key inputs should be intercepted and processed. Else returns false. | ||
| bool | Returns true if mouse events should be processed. Else returns false. |
Overridden from FGenericApplicationMessageHandler
| Type | Name | Description | |
|---|---|---|---|
| bool | BeginReshapingWindow
(
const TSharedRef< FGenericWindow >& Window |
||
| void | FinishedReshapingWindow
(
const TSharedRef< FGenericWindow >& Window |
||
| FWindowSizeLimits | GetSizeLimitsForWindow
(
const TSharedRef< FGenericWindow >& Window |
||
| EWindowZone::Type | GetWindowZoneForPoint
(
const TSharedRef< FGenericWindow >& Window, |
||
| void | HandleDPIScaleChanged
(
const TSharedRef< FGenericWindow >& Window |
||
| bool | OnApplicationActivationChanged
(
const bool IsActive |
||
| void | |||
| bool | OnControllerAnalog
(
FGamepadKeyNames::Type KeyName, |
||
| bool | OnControllerButtonPressed
(
FGamepadKeyNames::Type KeyName, |
||
| bool | OnControllerButtonReleased
(
FGamepadKeyNames::Type KeyName, |
||
| bool | |||
| bool | OnCursorSet () |
||
| EDropEffect::Type | OnDragDrop
(
const TSharedPtr< FGenericWindow >& Window |
||
| EDropEffect::Type | OnDragEnterExternal
(
const TSharedRef< FGenericWindow >& Window, |
||
| EDropEffect::Type | OnDragEnterFiles
(
const TSharedRef< FGenericWindow >& Window, |
||
| EDropEffect::Type | OnDragEnterText
(
const TSharedRef< FGenericWindow >& Window, |
||
| void | OnDragLeave
(
const TSharedPtr< FGenericWindow >& Window |
||
| EDropEffect::Type | OnDragOver
(
const TSharedPtr< FGenericWindow >& Window |
||
| void | OnEndGesture () |
||
| bool | OnKeyChar
(
const TCHAR Character, |
||
| bool | OnKeyDown
(
const int32 KeyCode, |
||
| bool | OnKeyUp
(
const int32 KeyCode, |
||
| bool | OnMotionDetected
(
const FVector& Tilt, |
||
| bool | OnMouseDoubleClick
(
const TSharedPtr< FGenericWindow >& Window, |
||
| bool | OnMouseDoubleClick
(
const TSharedPtr< FGenericWindow >& Window, |
||
| bool | OnMouseDown
(
const TSharedPtr< FGenericWindow >& Window, |
||
| bool | OnMouseDown
(
const TSharedPtr< FGenericWindow >& Window, |
||
| bool | OnMouseMove () |
||
| bool | OnMouseUp
(
const EMouseButtons::Type Button |
||
| bool | OnMouseUp
(
const EMouseButtons::Type Button, |
||
| bool | OnMouseWheel
(
const float Delta, |
||
| bool | OnMouseWheel
(
const float Delta |
||
| void | OnMovedWindow
(
const TSharedRef< FGenericWindow >& Window, |
||
| void | OnOSPaint
(
const TSharedRef< FGenericWindow >& Window |
||
| bool | OnRawMouseMove
(
const int32 X, |
||
| void | OnResizingWindow
(
const TSharedRef< FGenericWindow >& Window |
||
| bool | OnSizeChanged
(
const TSharedRef< FGenericWindow >& Window, |
||
| bool | OnTouchEnded
(
const FVector2D& Location, |
||
| bool | OnTouchFirstMove
(
const FVector2D& Location, |
||
| bool | OnTouchForceChanged
(
const FVector2D& Location, |
||
| bool | OnTouchGesture
(
EGestureEvent GestureType, |
||
| bool | OnTouchMoved
(
const FVector2D& Location, |
||
| bool | OnTouchStarted
(
const TSharedPtr< FGenericWindow >& Window, |
||
| bool | OnWindowAction
(
const TSharedRef< FGenericWindow >& Window, |
||
| bool | OnWindowActivationChanged
(
const TSharedRef< FGenericWindow >& Window, |
||
| void | OnWindowClose
(
const TSharedRef< FGenericWindow >& Window |
||
| bool | ShouldProcessUserInputMessages
(
const TSharedPtr< FGenericWindow >& PlatformWindow |
FGenericApplicationMessageHandlerBy default all the following functions just forward the call to the underlying message handler. | |
| void | ShouldSimulateGesture
(
EGestureEvent Gesture, |
Deprecated Functions
| Type | Name | Description | |
|---|---|---|---|
| bool | OnControllerAnalog
(
FGamepadKeyNames::Type KeyName, |
This version of OnControllerAnalog is deprecated, please use the version that takes an FPlatformUserId instead | |
| bool | OnControllerButtonPressed
(
FGamepadKeyNames::Type KeyName, |
This version of OnControllerButtonPressed is deprecated, please use the version that takes an FPlatformUserId instead | |
| bool | OnControllerButtonReleased
(
FGamepadKeyNames::Type KeyName, |
This version of OnControllerButtonReleased is deprecated, please use the version that takes an FPlatformUserId instead |