Navigation
API > API/Plugins > API/Plugins/ScreenReader > API/Plugins/ScreenReader/Announcement > API/Plugins/ScreenReader/Announcement/FScreenReaderAnnouncement
References
| Module | ScreenReader |
| Header | /Engine/Plugins/Experimental/ScreenReader/Source/ScreenReader/Public/Announcement/ScreenReaderAnnouncement.h |
| Include | #include "Announcement/ScreenReaderAnnouncement.h" |
template<typename InterruptionPolicy>
static bool CanBeInterruptedBy
&40;
const FScreenReaderAnnouncement & Interruptee,
const FScreenReaderAnnouncement & Interrupter,
const InterruptionPolicy & InInterruptionPolicy
&41;
Remarks
A static function that determines if one announcement can be interrupted by another based on a provided interruption policy.true Returns true if the Interruptee can be interrupted by the Interrupter based on the passed in interruption policy. Else returns false.
Parameters
| Name | Description |
|---|---|
| Interruptee | The announcement that the Interruptor will try to interrupt |
| Interrupter | The announcement that is trying to interrupt Interruptee |
| InInterruptionPolicy | The policy used to determine if the Interruptee can be interrupted by the Interrupter. Users can create their own interruption policies that satisfy the interface provided by FDefaultInterruptionPolicy. |