Supported Platforms: These features are supported on 2025 Philips EU
TV models, as well as upcoming models from other manufacturers.
Under Development: These APIs are under active development and may undergo
changes in the near future.
TitanSDK.accessibility
interface methods.
Text-to-Speech
Provides functionality for converting text into spoken audio.speak
Initiates text-to-speech synthesis for the provided text string.text
: Thestring
or an array ofstring
of text to be spoken.options
: Optional TTS configuration. (Note: This parameter is currently under development and its structure is likely to change.)
- A
Promise<void>
that resolves when the speech request has been successfully initiated.
TitanSDKError
with codeFEATURE_UNSUPPORTED
if the text-to-speech feature is not available on the current platform.TitanSDKError
with codeTTS_ERROR
if a general failure occurs during speech synthesis initiation.
stopSpeaking
Immediately stops any text-to-speech audio currently being played by the SDK.- A
Promise<void>
that resolves once the speech has been successfully stopped.
TitanSDKError
with codeFEATURE_UNSUPPORTED
if the text-to-speech feature is not available on the current platform.
Accessibility Settings
Allows retrieving and monitoring system accessibility preferences.getSettings
Retrieves the current accessibility settings relevant to the SDK.- A
Promise<AccessibilitySettings>
that resolves with an object containing the current settings.
TitanSDKError
with codePLATFORM_ERROR
if the settings cannot be retrieved from the underlying platform.
AccessibilitySettings Type
Defines the structure of the accessibility settings object returned bygetSettings
and provided by onSettingsChanged
.
Events
Provides mechanisms to subscribe to accessibility-related events.onSettingsChanged
Subscribes a listener function to be called whenever relevant accessibility settings change.listener
: A callback function that will be invoked with the updatedAccessibilitySettings
object when a change occurs.
- A function that, when called, unsubscribes the provided
listener
, preventing it from receiving further updates.