android.annotation
Annotation Type TargetApi


@Target(value={TYPE,METHOD,CONSTRUCTOR})
@Retention(value=CLASS)
public @interface TargetApi

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


Required Element Summary
 int value
          This sets the target api level for the type..
 

Element Detail

value

public abstract int value
This sets the target api level for the type..



Copyright © 2008-2012. All Rights Reserved.