> Documentation index: https://developer.android.com/reference/llms.txt

# GlanceWearProfiles

Artifact: [androidx.glance.wear:wear](https://developer.android.com/jetpack/androidx/releases/glance-wear.md.txt) [View Source](https://cs.android.com/search?q=file:androidx/glance/wear/GlanceWearProfiles.kt+class:androidx.glance.wear.GlanceWearProfiles) Added in [1.0.0-alpha23](https://developer.android.com/jetpack/androidx/releases/glance-wear.md.txt#1.0.0-alpha23)


```
object GlanceWearProfiles
```

<br />

*** ** * ** ***

Defines profiles for Glance Wear.

## Summary

| ### Public functions |
|---|---|
| `Profile` | `createWearWidgetsProfile(params: WearWidgetParams?)` Creates a `Profile` for Wear Widgets using the host-supported operations from `params`. |

| ### Public properties |
|---|---|
| `Profile` | `wearWidgets` A profile for Wear Widgets, based on the allowed operations for widgets. |

## Public functions

### createWearWidgetsProfile

Added in [1.0.0-alpha23](https://developer.android.com/jetpack/androidx/releases/glance-wear.md.txt#1.0.0-alpha23)

```
fun createWearWidgetsProfile(params: WearWidgetParams?): Profile
```

Creates a `Profile` for Wear Widgets using the host-supported operations from `params`.

If `params` is null, only the safe fallback operations are used, that are guaranteed to be supported by all hosts.

| Parameters |
|---|---|
| `params: WearWidgetParams?` | the `WearWidgetParams` for the widget request |

| Returns |
|---|---|
| `Profile` | a `Profile` configured for the host's supported operations |

## Public properties

### wearWidgets

Added in [1.0.0-alpha23](https://developer.android.com/jetpack/androidx/releases/glance-wear.md.txt#1.0.0-alpha23)

```
val wearWidgets: Profile
```

A profile for Wear Widgets, based on the allowed operations for widgets.