# Profile

> Creates a [Profile] configured for Android RemoteCompose creation.

## API Reference

### Profile

> Source set: Android

```kotlin
public fun Profile(
    docApiLevel: Int = CoreDocument.DOCUMENT_API_LEVEL,
    profileFlags: Int = RcProfiles.PROFILE_ANDROIDX,
    supportedOperations: IntSet? = null,
): Profile
```

Creates a [Profile](https://composables.com/jetpack-compose/androidx.compose.remote/remote-creation-compose/functions/Profile/api.md) configured for Android RemoteCompose creation.

This provides a Kotlin-friendly factory for [Profile](https://composables.com/jetpack-compose/androidx.compose.remote/remote-creation-compose/functions/Profile/api.md) with sensible defaults, avoiding the need
to manually configure internal platform services and writer implementations.

For predefined profiles, see `androidx.compose.remote.creation.profile.RcPlatformProfiles`, such
as `androidx.compose.remote.creation.profile.RcPlatformProfiles.ANDROIDX`.

#### Parameters

| | |
| --- | --- |
| docApiLevel | The document API level supported by this profile. Defaults to the latest document API level (`CoreDocument.DOCUMENT_API_LEVEL`). |
| profileFlags | The operation profile bitmask (from `RcProfiles`) specifying the profile category. Defaults to `RcProfiles.PROFILE_ANDROIDX`. |
| supportedOperations | An optional explicit set of supported operation IDs. If specified, only operations in this set will be enabled in the document buffer. If null, all the operations defined by `docApiLevel` and `profileFlags` are used. |

#### Return

A [Profile](https://composables.com/jetpack-compose/androidx.compose.remote/remote-creation-compose/functions/Profile/api.md) configured for Android RemoteCompose creation.
