<div class='sourceset sourceset-android'>Android</div>

```kotlin
public object PreferencesGlanceStateDefinition : GlanceStateDefinition<Preferences>
```

Base class helping the creation of a state using DataStore's `Preferences`.

## Functions

<h2 id="setcoroutinescope-scope">setCoroutineScope</h2>

```kotlin
@RestrictTo(RestrictTo.Scope.LIBRARY_GROUP)
public fun setCoroutineScope(scope: CoroutineScope)
```