<h2 id="remotedocumentplayer-document-documentwidth-documentheight-modifier-debugmode-init-update-onaction-onnamedaction-bitmaploader">RemoteDocumentPlayer</h2>

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

```kotlin
@Composable
public fun RemoteDocumentPlayer(
    document: CoreDocument,
    documentWidth: Int,
    documentHeight: Int,
    modifier: Modifier = Modifier,
    debugMode: Int = 0,
    init: (RemoteComposePlayer) -> Unit = {},
    update: (RemoteComposePlayer) -> Unit = {},
    onAction: (actionId: Int, value: String?) -> Unit = { _, _ -> },
    onNamedAction: (name: String, value: Any?, stateUpdater: StateUpdater) -> Unit = { _, _, _ -> },
    bitmapLoader: BitmapLoader? = null,
)
```

A player of a `CoreDocument`