Level

enum Level : Enum<RequiresOptIn.Level>

Severity of the diagnostic that should be reported on usages which did not explicitly opted into the API either by using OptIn or by being annotated with the corresponding marker annotation.

Entries

ERROR
Link copied to clipboard

Specifies that an error should be reported on incorrect usages of this API.

WARNING
Link copied to clipboard

Specifies that a warning should be reported on incorrect usages of this API.

Properties

name
Link copied to clipboard
val name: String
ordinal
Link copied to clipboard
val ordinal: Int