This site requires javascript.
Android Code Search
file:androidx/annotation/RequiresApi. class:androidx.annotation.RequiresApi
search
close
info_outline
more_vert
Results 1 - 3 of 3
content_copy
Search Result Root
androidx/platform/frameworks/support
keyboard_arrow_right
Branch
Branch
androidx-main
keyboard_arrow_right
Search Result Path
annotation/annotation/src/commonMain/kotlin/androidx/annotation/
RequiresApi.kt
content_copy
Preview
43:
44:
45:
@OptionalExpectation
// Need to use expect due to Java-specific target annotations on the actual.
public
expect
annotation
class
RequiresApi
(
/** The API level to require. Alias for [.api] which allows you to leave out the `api=` part. */
Search Result Root
androidx/platform/frameworks/support
keyboard_arrow_right
Branch
Branch
androidx-main
keyboard_arrow_right
Search Result Path
annotation/annotation/src/jvmMain/kotlin/androidx/annotation/
RequiresApi.jvm.kt
content_copy
Preview
48:
49:
50:
@java.lang.annotation.Target(TYPE, METHOD, CONSTRUCTOR, FIELD, PACKAGE)
public
actual
annotation
class
RequiresApi
(
/** The API level to require. Alias for [.api] which allows you to leave out the `api=` part. */
Search Result Root
android/platform/superproject/main
keyboard_arrow_right
Branch
Branch
main
keyboard_arrow_right
Search Result Path
tools/metalava/stub-annotations/src/main/java/androidx/annotation/
RequiresApi.java
content_copy
Preview
29:
30:
31:
@Target({TYPE, METHOD, CONSTRUCTOR, FIELD})
public
@
interface
RequiresApi
{
/**
chevron_left
1
chevron_right
Results per page
10
We serve cookies on this site to analyze traffic, remember your preferences, and optimize your experience.
Got it
Help
Open branch androidx-main
Open branch main