---
title: "remotePath"
description: "Build the RemotePath, encoding using this RemoteStateScope."
type: "function"
lastmod: "2026-07-19T07:47:45.800409Z"
---
## API Reference

### remotePath

> Source set: Android

```kotlin
public fun RemoteStateScope.remotePath(fn: RemotePathScope.() -> Unit): RemotePath
```

Build the [RemotePath](/jetpack-compose/androidx.compose.remote/remote-creation-compose/functions/remotePath), encoding using this [RemoteStateScope](/jetpack-compose/androidx.compose.remote/remote-creation-compose/interfaces/RemoteStateScope).
