public abstract @interface RequiresApi
implements Annotation
| android.support.annotation.RequiresApi |
表示注释元素只应在给定的API级别或更高级别上调用。
这与旧版 @TargetApi注释类似,但更清楚地表示这是对调用者的要求,而不是用于“压制”超出 minSdkVersion的方法中的 minSdkVersion 。
继承方法(Inherited methods) |
|
|---|---|
java.lang.annotation.Annotation
|
|