# CompositionLocalContext

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

  ```
  class CompositionLocalContext
  ```

*** ** * ** ***

Stores `https://developer.android.com/reference/kotlin/androidx/compose/runtime/CompositionLocal`'s and their values.

Can be obtained via `https://developer.android.com/reference/kotlin/androidx/compose/runtime/package-summary#currentCompositionLocalContext()` and passed to another composition via `https://developer.android.com/reference/kotlin/androidx/compose/runtime/CompositionLocalProvider.composable#CompositionLocalProvider(kotlin.Array,kotlin.Function0)`.

`https://developer.android.com/reference/kotlin/androidx/compose/runtime/CompositionLocalContext` is immutable and won't be changed after its obtaining.

## Summary

| ### Public functions |
|---|---|---|
| `open operator https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | `https://developer.android.com/reference/kotlin/androidx/compose/runtime/CompositionLocalContext#equals(kotlin.Any)(other: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html?)` | Cmn |
| `open https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/compose/runtime/CompositionLocalContext#hashCode()()` | Cmn |

## Public functions

### equals

Cmn

```
open operator fun equals(other: Any?): Boolean
```

### hashCode

Cmn

```
open fun hashCode(): Int
```