Provides access to the system options and settings related to accessibility.
Members
A group of settings related to text-to-speech functionality, for platforms that expose system settings for text-to-speech.
Members
Description
Get the platform settings related to high contrast text. This function returns false if out_settings
is NULL or if it is not zero-initialized.
Declaration and definitions
#include "starboard/accessibility.h" #include "starboard/memory.h" bool SbAccessibilityGetDisplaySettings( SbAccessibilityDisplaySettings* out_setting) { if (!out_setting || !SbMemoryIsZero(out_setting, sizeof(SbAccessibilityDisplaySettings))) { return false; } out_setting->has_high_contrast_text_setting = false; return true; }
Parameters
Description
Get the platform settings related to the text-to-speech accessibility feature. This function returns false if out_settings
is NULL or if it is not zero-initialized.
Declaration and definitions
#include "starboard/accessibility.h" #include "starboard/memory.h" bool SbAccessibilityGetTextToSpeechSettings( SbAccessibilityTextToSpeechSettings* out_setting) { if (!out_setting || !SbMemoryIsZero(out_setting, sizeof(SbAccessibilityTextToSpeechSettings))) { return false; } out_setting->has_text_to_speech_setting = false; return true; }
Parameters