Experimental
@Retention(value = AnnotationRetention.BINARY)
@Target(allowedTargets = [AnnotationTarget.ANNOTATION_CLASS])
public annotation Experimental
Denotes that the annotated element is a marker of an experimental API.
Any declaration annotated with this marker is considered part of an unstable API surface and its call sites should accept the experimental aspect of it either by using UseExperimental, or by being annotated with that marker themselves, effectively causing further propagation of that experimental aspect.
Summary
Nested types |
|---|
public enum Experimental.Level extends EnumThis enum is deprecated. This annotation has been replaced by `@RequiresOptIn` |
Public constructors |
|---|
This method is deprecated. This annotation has been replaced by `@RequiresOptIn` |
Public methods |
|
|---|---|
final @NonNull Experimental.Level |
This method is deprecated. This annotation has been replaced by `@RequiresOptIn` |
Public constructors
Experimental
publicExperimental(@NonNull Experimental.Level level)
Public methods
getLevel
public final @NonNull Experimental.LevelgetLevel()
Defines the reporting level for incorrect usages of this experimental API.