# Print output for @column tags ?>
Developers

- Design
- Develop
- Distribute

Developer Console

## Most visited

## Recently visited

## Results for

Summary: Methods | Inherited Methods

# 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
From interface `java.lang.annotation.Annotation`
`abstract Class<? extends Annotation>` | `annotationType()` Returns the annotation type of this annotation.
`abstract boolean` | `equals(Object obj)` Returns true if the specified object represents an annotation that is logically equivalent to this one.
`abstract int` | `hashCode()` Returns the hash code of this annotation, as defined below: The hash code of an annotation is the sum of the hash codes of its members (including those with default values), as defined below: The hash code of an annotation member is (127 times the hash code of the member-name as computed by `String#hashCode()`) XOR the hash code of the member-value, as defined below: The hash code of a member-value depends on its type: The hash code of a primitive value `v` is equal to `WrapperType.valueOf(v).hashCode()`, where `WrapperType` is the wrapper type corresponding to the primitive type of `v` (`Byte`, `Character`, `Double`, `Float`, `Integer`, `Long`, `Short`, or `Boolean`).
`abstract String` | `toString()` Returns a string representation of this annotation.

## Public methods

### value

    public int value ()

This sets the target api level for the type..

Returns
`int` |

Full name *
Email address *
Company / developer name
One of your Play Store app URLs *
Which best describes your business:*
Apps
Games
Apps & Games
*
*