Navigation
API > API/Plugins > API/Plugins/SlateScreenReader > API/Plugins/SlateScreenReader/USlateScreenReaderEngineSubsyste-
References
| Module | SlateScreenReader |
| Header | /Engine/Plugins/Experimental/SlateScreenReader/Source/SlateScreenReader/Public/SlateScreenReaderEngineSubsystem.h |
| Include | #include "SlateScreenReaderEngineSubsystem.h" |
| Source | /Engine/Plugins/Experimental/SlateScreenReader/Source/SlateScreenReader/Private/SlateScreenReaderEngineSubsystem.cpp |
UFUNCTION&40;BlueprintCallable, Category&61;"SlateScreenReader"&41;
FScreenReaderReply RequestSpeak
&40;
UPARAM(DisplayName="Screen Reader User Id") int32 InUserId,
UPARAM(DisplayName="Announcement") FScreenReaderAnnouncement InAnnouncement
&41;
Remarks
Requests an announcement to be spoken to the screen reader user. This is the main mechanism to provide text to speech auditory feedback to end 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 will 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. FScreenReaderReply::Handled() if the request was successfully processed. Else return FScreenReader::Unhandled()
Parameters
| Name | Description |
|---|---|
| InUserId | The user Id of the screen reader user the announcement is intended for |
| InAnnouncement | The announcement requested to be spoken to the screen reader user |