# ComposableInferredTarget

Artifact: [androidx.compose.runtime:runtime](https://developer.android.com/jetpack/androidx/releases/compose-runtime) [View Source](https://cs.android.com/search?q=file:androidx/compose/runtime/ComposableInferredTarget.kt+class:androidx.compose.runtime.ComposableInferredTarget) Added in [1.2.0](https://developer.android.com/jetpack/androidx/releases/compose-runtime#1.2.0) Common/AllAndroid/JVMNative/C/iOSJavaScript
- Cmn

  ```
  @InternalComposeApi
  @Retention(value = AnnotationRetention.BINARY)
  @Target(allowedTargets = [AnnotationTarget.FUNCTION, AnnotationTarget.PROPERTY_GETTER])
  annotation ComposableInferredTarget
  ```

*** ** * ** ***

An annotation generated by the compose compiler plugin. Do not use explicitly.

The `https://developer.android.com/reference/kotlin/androidx/compose/runtime/ComposableInferredTarget` annotation is an abbreviated form of `https://developer.android.com/reference/kotlin/androidx/compose/runtime/ComposableTarget` and `https://developer.android.com/reference/kotlin/androidx/compose/runtime/ComposableOpenTarget` generated by the compose compiler plugin when it infers the target of a composable function that has one or more composable lambda parameters.

This is intended to only be generated by the plugin and should not be used directly. Use `https://developer.android.com/reference/kotlin/androidx/compose/runtime/ComposableOpenTarget` and `https://developer.android.com/reference/kotlin/androidx/compose/runtime/ComposableTarget` instead.

This annotation is used by the Compose compiler plugin because Kotlin compiler plugins are a not allowed to add annotations to types such as the lambda types of a `https://developer.android.com/reference/kotlin/androidx/compose/runtime/Composable` function parameter. This annotation records which annotation would have been added.

## Summary

| ### Public constructors |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/compose/runtime/ComposableInferredTarget#ComposableInferredTarget(kotlin.String)(scheme: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html)` | Cmn |

| ### Public properties |
|---|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html` | `https://developer.android.com/reference/kotlin/androidx/compose/runtime/ComposableInferredTarget#scheme()` | Cmn |

## Public constructors

### ComposableInferredTarget

Cmn Added in [1.9.0](https://developer.android.com/jetpack/androidx/releases/compose-runtime#1.9.0)

```
ComposableInferredTarget(scheme: String)
```

## Public properties

### scheme

Cmn

```
val scheme: String
```