# CompositionServiceKey

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/Composition.kt+class:androidx.compose.runtime.CompositionServiceKey) Added in [1.6.0](https://developer.android.com/jetpack/androidx/releases/compose-runtime#1.6.0) Common/AllAndroid/JVMNative/C/iOSJavaScript
- Cmn

  ```
  interface CompositionServiceKey<T : Any?>
  ```

*** ** * ** ***

A key to locate a service using the `https://developer.android.com/reference/kotlin/androidx/compose/runtime/CompositionServices` interface optionally implemented by implementations of `https://developer.android.com/reference/kotlin/androidx/compose/runtime/Composition`.