# Group

Artifact: [androidx.compose.ui:ui-tooling-data](https://developer.android.com/jetpack/androidx/releases/compose-ui) [View Source](https://cs.android.com/search?q=file:androidx/compose/ui/tooling/data/SlotTree.jvmAndAndroid.kt+class:androidx.compose.ui.tooling.data.Group) Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/compose-ui#1.0.0)


```
@UiToolingDataApi
sealed class Group
```

<br />

Known direct subclasses [CallGroup](https://developer.android.com/reference/kotlin/androidx/compose/ui/tooling/data/CallGroup), [NodeGroup](https://developer.android.com/reference/kotlin/androidx/compose/ui/tooling/data/NodeGroup)

|---|---|
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/tooling/data/CallGroup` | A group that represents the invocation of a component |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/tooling/data/NodeGroup` | A group that represents an emitted node |

*** ** * ** ***

A group in the slot table. Represents either a call or an emitted node.

## Summary

| ### Protected constructors |
|---|
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/tooling/data/Group#Group(kotlin.Any,kotlin.String,androidx.compose.ui.tooling.data.SourceLocation,kotlin.Any,androidx.compose.ui.unit.IntRect,kotlin.collections.Collection,kotlin.collections.Collection,kotlin.Boolean)( key: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html?, name: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html?, location: https://developer.android.com/reference/kotlin/androidx/compose/ui/tooling/data/SourceLocation?, identity: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html?, box: https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/IntRect, data: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.collections/-collection/index.html<https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html?>, children: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.collections/-collection/index.html<https://developer.android.com/reference/kotlin/androidx/compose/ui/tooling/data/Group>, isInline: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html )` |

| ### Public properties |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/IntRect` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/tooling/data/Group#box()` The bounding layout box for the group. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.collections/-collection/index.html<https://developer.android.com/reference/kotlin/androidx/compose/ui/tooling/data/Group>` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/tooling/data/Group#children()` The child groups of this group |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.collections/-collection/index.html<https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html?>` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/tooling/data/Group#data()` Any data that was stored in the slot table for the group |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html?` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/tooling/data/Group#identity()` An optional value that identifies a Group independently of movement caused by recompositions. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/tooling/data/Group#isInline()` True if the group is for an inline function call |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html?` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/tooling/data/Group#key()` The key is the key generated for the group |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/tooling/data/SourceLocation?` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/tooling/data/Group#location()` The source location that produce the group if it can be determined |
| `open https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.collections/-list/index.html<https://developer.android.com/reference/kotlin/androidx/compose/ui/layout/ModifierInfo>` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/tooling/data/Group#modifierInfo()` Modifier information for the Group, or empty list if there isn't any. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html?` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/tooling/data/Group#name()` The name of the function called, if provided |
| `open https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.collections/-list/index.html<https://developer.android.com/reference/kotlin/androidx/compose/ui/tooling/data/ParameterInformation>` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/tooling/data/Group#parameters()` Parameter information for Groups that represent calls |

| ### Extension properties |
|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html?` | `@https://developer.android.com/reference/kotlin/androidx/compose/ui/tooling/data/UiToolingDataApi https://developer.android.com/reference/kotlin/androidx/compose/ui/tooling/data/Group.https://developer.android.com/reference/kotlin/androidx/compose/ui/tooling/data/Group#(androidx.compose.ui.tooling.data.Group).position()` The source position of the group extracted from the key, if one exists for the group. |

## Protected constructors

### Group

```
protected Group(
    key: Any?,
    name: String?,
    location: SourceLocation?,
    identity: Any?,
    box: IntRect,
    data: Collection<Any?>,
    children: Collection<Group>,
    isInline: Boolean
)
```

## Public properties

### box

Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/compose-ui#1.0.0)

```
val box: IntRect
```

The bounding layout box for the group.

### children

Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/compose-ui#1.0.0)

```
val children: Collection<Group>
```

The child groups of this group

### data

Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/compose-ui#1.0.0)

```
val data: Collection<Any?>
```

Any data that was stored in the slot table for the group

### identity

Added in [1.2.0](https://developer.android.com/jetpack/androidx/releases/compose-ui#1.2.0)

```
val identity: Any?
```

An optional value that identifies a Group independently of movement caused by recompositions.

### isInline

Added in [1.4.0](https://developer.android.com/jetpack/androidx/releases/compose-ui#1.4.0)

```
val isInline: Boolean
```

True if the group is for an inline function call

### key

Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/compose-ui#1.0.0)

```
val key: Any?
```

The key is the key generated for the group

### location

Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/compose-ui#1.0.0)

```
val location: SourceLocation?
```

The source location that produce the group if it can be determined

### modifierInfo

Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/compose-ui#1.0.0)

```
open val modifierInfo: List<ModifierInfo>
```

Modifier information for the Group, or empty list if there isn't any.

### name

Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/compose-ui#1.0.0)

```
val name: String?
```

The name of the function called, if provided

### parameters

Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/compose-ui#1.0.0)

```
open val parameters: List<ParameterInformation>
```

Parameter information for Groups that represent calls

## Extension properties

### Group.position

Artifact: [androidx.compose.ui:ui-tooling-data](https://developer.android.com/jetpack/androidx/releases/compose-ui) [View Source](https://cs.android.com/search?q=file:androidx/compose/ui/tooling/data/SlotTree.jvmAndAndroid.kt+symbol:position) Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/compose-ui#1.0.0)

```
@UiToolingDataApi
val Group.position: String?
```

The source position of the group extracted from the key, if one exists for the group.