The Android Developer Challenge is back! Submit your idea before December 2.

Experimental.Level

public static final enum Experimental.Level
extends Enum<Experimental.Level>

java.lang.Object
   ↳ java.lang.Enum<androidx.annotation.experimental.Experimental.Level>
     ↳ androidx.annotation.experimental.Experimental.Level


Severity of the diagnostic that should be reported on usages of experimental API which did not explicitly accept the experimental aspect of that API either by using UseExperimental or by being annotated with the corresponding marker annotation.

Summary

Enum values

Experimental.Level  ERROR

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

Experimental.Level  WARNING

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

Public methods

static Experimental.Level valueOf(String name)
static final Level[] values()

Inherited methods

Enum values

ERROR

public static final Experimental.Level ERROR

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

WARNING

public static final Experimental.Level WARNING

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

Public methods

valueOf

public static Experimental.Level valueOf (String name)

Parameters
name String

Returns
Experimental.Level

values

public static final Level[] values ()

Returns
Level[]