MediaAccessibility provides a way to save user preferences for subtitles. While this crosses app boundaries so that the choice is reflected in other apps, we could provide an API so that apps can easily persist their language choice.
This requires more though, though. We would then probably require the same level of information as for subtitles when the active language is not available for the content currently being played. We would also need to decide whether we want a similar (but simpler) C API, or something else.
We implemented this feature in our application based on existing SRG Media Player APIs. Since there is no cross-app persistence anyway, no dedicated API is really needed here.
MediaAccessibility
provides a way to save user preferences for subtitles. While this crosses app boundaries so that the choice is reflected in other apps, we could provide an API so that apps can easily persist their language choice.This requires more though, though. We would then probably require the same level of information as for subtitles when the active language is not available for the content currently being played. We would also need to decide whether we want a similar (but simpler) C API, or something else.