# RemoteCapturedDocument

> Represents the result of a remote Composable capture operation.

## API Reference

> Source set: Android

```kotlin
public class RemoteCapturedDocument internal constructor(
    public val bytes: ByteArray,
    public val pendingIntents: IntObjectMap<PendingIntent>,
    @get:RestrictTo(RestrictTo.Scope.LIBRARY_GROUP) public val lambdas: IntObjectMap<() -> Unit>,
)
```

Represents the result of a remote Composable capture operation.

This class encapsulates all the necessary data to reconstruct and display a RemoteCompose
document. It contains the serialized view hierarchy as a byte array and a map of any associated
`PendingIntent`s that need to be resolved on the host side.

Example of capturing a [RemoteCapturedDocument](https://composables.com/jetpack-compose/androidx.compose.remote/remote-creation-compose/classes/RemoteCapturedDocument/api.md) and reading its serialized `bytes`:
