Navigation
API > API/Plugins > API/Plugins/ScreenReader > API/Plugins/ScreenReader/FScreenReaderUser
Description
Requests an announcement to be spoken to the screen reader user. This is the main mechanism to provide text to speech auditory feedback to users. Calling this function does not guarantee that the announcement will be spoken via text to speech and be heard by a user. All announcements spoken via text to speech will be asynchronous and iwll not block the game thread. If the screen reader user is active and no announcements are currently spoken, the announcement will be spoken immediately. If another announcement is currently being spoken, the passed in announcement could be queued or interrupt the currently spoken announcement. Examples: TSharedRef
| Name | RequestSpeak |
| Type | function |
| Header File | /Engine/Plugins/Experimental/ScreenReader/Source/ScreenReader/Public/GenericPlatform/ScreenReaderUser.h |
| Include Path | #include "GenericPlatform/ScreenReaderUser.h" |
| Source | /Engine/Plugins/Experimental/ScreenReader/Source/ScreenReader/Private/GenericPlatform/ScreenReaderUser.cpp |
FScreenReaderReply RequestSpeak
(
FScreenReaderAnnouncement InAnnouncement
)
FScreenReaderReply::Handled() if the request was successfully processed. Else return FScreenReader::Unhandled()
Parameters
| Name | Remarks |
|---|---|
| InAnnouncement | The announcement requested to be spoken to the screen reader user |