PreviewAccessibilityApi
@MustBeDocumented
@Target(allowedTargets = [AnnotationTarget.CLASS, AnnotationTarget.FUNCTION, AnnotationTarget.PROPERTY, AnnotationTarget.ANNOTATION_CLASS, AnnotationTarget.CONSTRUCTOR, AnnotationTarget.PROPERTY_GETTER, AnnotationTarget.PROPERTY_SETTER, AnnotationTarget.FIELD])
@Retention(value = AnnotationRetention.BINARY)
@RequiresOptIn(message = "This is a preview accessibility API. It may be changed or removed in future releases.")
public annotation PreviewAccessibilityApi
Denotes that the annotated API is part of a preview accessibility feature surface that is subject to change or removal in future releases.
These APIs are introduced to validate new features and gather developer feedback. Developers
opting in should expect potential breaking changes or API promotion paths in subsequent library
versions.