Added in API level 16

TargetApi


public abstract @interface TargetApi
implements Annotation

android.annotation.TargetApi


Indicates that Lint should treat this type as targeting a given API level, no matter what the project target is.

Summary

Public methods

int value()

This sets the target api level for the type..

Inherited methods

Public methods

value

Added in API level 16
public int value ()

This sets the target api level for the type..

Returns
int