setPreferredAudioRoleFlagsToAccessibilityManagerSettings

Sets preferred audio role flags based on AccessibilityManager settings.

This function does nothing on Android below Tiramisu or if the user has not enabled audio description in the accessibility settings.

Return

This TrackSelectionParameters.Builder for method chaining.

Parameters

context

The Context used to access the AccessibilityManager.