# createNamedRemoteImageBitmap

> Creates a named [RemoteImageBitmap] with an initial value.

## API Reference

### createNamedRemoteImageBitmap

> Source set: Android

```kotlin
public fun RemoteImageBitmap.Companion.createNamedRemoteImageBitmap(
    name: String,
    defaultValue: ImageBitmap,
    domain: RemoteState.Domain = RemoteState.Domain.User,
): RemoteImageBitmap
```

Creates a named [RemoteImageBitmap](https://composables.com/jetpack-compose/androidx.compose.remote/remote-creation-compose/functions/RemoteImageBitmap/api.md) with an initial value.

Named remote bitmaps can be set via AndroidRemoteContext.setNamedBitmap.

#### Parameters

| | |
| --- | --- |
| name | A unique name to identify this state within its `domain`. |
| defaultValue | The initial [ImageBitmap](https://composables.com/jetpack-compose/androidx.compose.remote/remote-creation-compose/properties/imageBitmap/api.md) value for the named remote bitmap. |
| domain | The domain for the named state. Defaults to `RemoteState.Domain.User`. |

#### Return

A [RemoteImageBitmap](https://composables.com/jetpack-compose/androidx.compose.remote/remote-creation-compose/functions/RemoteImageBitmap/api.md) representing the named bitmap.

### createNamedRemoteImageBitmap

> Source set: Android

```kotlin
public fun RemoteImageBitmap.Companion.createNamedRemoteImageBitmap(
    name: String,
    domain: RemoteState.Domain = RemoteState.Domain.User,
    value: () -> ImageBitmap,
): RemoteImageBitmap
```

Creates a named [RemoteImageBitmap](https://composables.com/jetpack-compose/androidx.compose.remote/remote-creation-compose/functions/RemoteImageBitmap/api.md) with a deferred initial value.

#### Parameters

| | |
| --- | --- |
| name | unique name to identify this state within its `domain` |
| domain | domain for the named state, defaults to `RemoteState.Domain.User` |
| value | provider of the initial [ImageBitmap](https://composables.com/jetpack-compose/androidx.compose.remote/remote-creation-compose/properties/imageBitmap/api.md) value |

#### Return

a [RemoteImageBitmap](https://composables.com/jetpack-compose/androidx.compose.remote/remote-creation-compose/functions/RemoteImageBitmap/api.md) representing the named bitmap

### createNamedRemoteImageBitmap

> Source set: Android

```kotlin
public fun createNamedRemoteImageBitmap(
    name: String,
    defaultValue: ImageBitmap,
    domain: RemoteState.Domain = RemoteState.Domain.User,
): RemoteImageBitmap
```

Creates a named [RemoteImageBitmap](https://composables.com/jetpack-compose/androidx.compose.remote/remote-creation-compose/functions/RemoteImageBitmap/api.md) with an initial value.

#### Parameters

| | |
| --- | --- |
| name | A unique name to identify this state within its `domain`. |
| defaultValue | The initial [ImageBitmap](https://composables.com/jetpack-compose/androidx.compose.remote/remote-creation-compose/properties/imageBitmap/api.md) value for the named remote bitmap. |
| domain | The domain for the named state. Defaults to `RemoteState.Domain.User`. |

#### Return

A [RemoteImageBitmap](https://composables.com/jetpack-compose/androidx.compose.remote/remote-creation-compose/functions/RemoteImageBitmap/api.md) representing the named bitmap.

### createNamedRemoteImageBitmap

> Source set: Android

```kotlin
public fun createNamedRemoteImageBitmap(
    name: String,
    domain: RemoteState.Domain = RemoteState.Domain.User,
    value: () -> ImageBitmap,
): RemoteImageBitmap
```

Creates a named [RemoteImageBitmap](https://composables.com/jetpack-compose/androidx.compose.remote/remote-creation-compose/functions/RemoteImageBitmap/api.md) with a deferred initial value.

#### Parameters

| | |
| --- | --- |
| name | A unique name to identify this state within its `domain`. |
| domain | The domain for the named state. Defaults to `RemoteState.Domain.User`. |
| value | Provider of the initial [ImageBitmap](https://composables.com/jetpack-compose/androidx.compose.remote/remote-creation-compose/properties/imageBitmap/api.md) value. |

#### Return

A [RemoteImageBitmap](https://composables.com/jetpack-compose/androidx.compose.remote/remote-creation-compose/functions/RemoteImageBitmap/api.md) representing the named bitmap.
