Skip to Content
API ReferenceConfigurationAccessibilityConfig

AccessibilityConfig

data class AccessibilityConfig(var isAccessible: Boolean? = null, var label: String? = null, var hint: String? = null)

Configuration for accessibility settings of map UI elements.

This class allows customization of TalkBack behavior for map controls, similar to iOS’s accessibility configuration. All properties are optional to maintain backward compatibility - if not set, default values are used.

Constructors

AccessibilityConfigconstructor(fromJSONObject: JSONObject )
AccessibilityConfigconstructor(isAccessible: Boolean ? = null, label: String ? = null, hint: String ? = null)

Properties

hint

var hint: String?

Additional context about what the element does. If null, the default hint is not used (Android uses only contentDescription).

isAccessible

var isAccessible: Boolean?

Whether the element is accessible to screen readers (null uses default: true). Set to false to hide the element from screen readers while keeping it visible.

label

var label: String?

The accessibility label that screen readers read when the element is focused. If null, the default label from string resources is used.

Last updated on