You.i Engine
CYIScreenReaderStatusBridge Class Referenceabstract

Detailed Description

A bridge which reports the system's screen reader status.

Can be used to query whether the accessibility screen reader is running or not in the operating system settings, also provides notifications when screen reader status changes. This bridge is available on systems that support screen reader ability.

#include <platform/YiScreenReaderStatusBridge.h>

Public Member Functions

virtual ~CYIScreenReaderStatusBridge ()=default
 
virtual bool IsScreenReaderEnabled () const =0
 

Public Attributes

CYISignal< bool > ScreenReaderStatusChanged
 

Friends

class CYIAccessibilityInformationBridgeLocator
 

Constructor & Destructor Documentation

◆ ~CYIScreenReaderStatusBridge()

virtual CYIScreenReaderStatusBridge::~CYIScreenReaderStatusBridge ( )
virtualdefault

Member Function Documentation

◆ IsScreenReaderEnabled()

virtual bool CYIScreenReaderStatusBridge::IsScreenReaderEnabled ( ) const
pure virtual

Returns true if screen reader feature is enabled.

Friends And Related Function Documentation

◆ CYIAccessibilityInformationBridgeLocator

Member Data Documentation

◆ ScreenReaderStatusChanged

CYISignal<bool> CYIScreenReaderStatusBridge::ScreenReaderStatusChanged

Emitted when screen reader status changes.

The bool parameter is true if screen reader status changed to enabled, false if it changed to disabled.


The documentation for this class was generated from the following file: