---
title: "CrossWindowBlur.Api31Impl.Registration"
description: "Stores the [WindowManager] and [Consumer] callback instance to allow unregistering the listener."
type: "class"
lastmod: "2026-09-24"
---
## API Reference

> Source set: Android

```kotlin
class Registration(private val wm: WindowManager, private val consumer: Consumer<Boolean>)
```

Stores the `WindowManager` and `Consumer` callback instance to allow unregistering the
listener.

## Functions

### unregister

> Source set: Android

```kotlin
fun unregister()
```
