@Documented @Retention(value=CLASS) public @interface PublicApi
This element is designed for apps to consume (call its methods).
Clients of @PublicApi
can expect that code compiled against a given version will remain binary compatible with later
versions of the @PublicApi
as per Configuration Manager's API policy as long as the client does not implement/extend
@PublicApi
interfaces or classes.
@PublicApi
interfaces and classes are not designed to be implemented or extended by clients, we may perform
certain types of binary-incompatible changes to these classes and interfaces, but these will not affect well-behaved clients that do not
extend/implement these types (in general, only classes and interfaces annotated with PublicSpi
are safe to extend/implement).PublicSpi
Copyright © 2022. All rights reserved.