Navigation
API > API/Plugins > API/Plugins/SlateScreenReader > API/Plugins/SlateScreenReader/USlateScreenReaderEngineSubsyste-
Description
Deactivates the screen reader and disables all announcement and text to speech services making them do nothing. If the passed in user Id does not correspond to a registered screen reader user, nothing will happen.
| Name | DeactivateUser |
| Type | function |
| Header File | /Engine/Plugins/Experimental/SlateScreenReader/Source/SlateScreenReader/Public/SlateScreenReaderEngineSubsystem.h |
| Include Path | #include "SlateScreenReaderEngineSubsystem.h" |
| Source | /Engine/Plugins/Experimental/SlateScreenReader/Source/SlateScreenReader/Private/SlateScreenReaderEngineSubsystem.cpp |
UFUNCTION (BlueprintCallable, Category="SlateScreenReader")
FScreenReaderReply DeactivateUser
(
int32 InUserId
)
FScreenReaderReply::Handled() if the screen reader user is successfully deactivated. Else FScreenReaderReply::Unhandled() is returned.
Parameters
| Name | Remarks |
|---|---|
| InUserId | The user Id of the screen reader user to request deactivation. The Id should correspond to the Slate user id of an input device. If unsure, use Id 0. |