# PlaneSemanticType

Artifact: [androidx.xr.scenecore:scenecore](https://developer.android.com/jetpack/androidx/releases/xr-scenecore) [View Source](https://cs.android.com/search?q=file:androidx/xr/scenecore/Types.kt+class:androidx.xr.scenecore.PlaneSemanticType) Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/xr-scenecore#1.0.0)

*** ** * ** ***


```
public final class PlaneSemanticType
```

<br />

*** ** * ** ***

The detected semantic type of a plane, to specify valid surfaces for anchoring.

For example, see `https://developer.android.com/reference/androidx/xr/scenecore/MovableComponent#createAnchorable(androidx.xr.runtime.Session,kotlin.collections.Set,kotlin.Boolean)`.

## Summary

| ### Public fields |
|---|---|
| `static final @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/util/Set.html<@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/xr/scenecore/PlaneSemanticType>` | `https://developer.android.com/reference/androidx/xr/scenecore/PlaneSemanticType#ALL()` Immutable Set containing all PlaneSemanticTypes. |
| `static final @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/xr/scenecore/PlaneSemanticType` | `https://developer.android.com/reference/androidx/xr/scenecore/PlaneSemanticType#CEILING()` Specify planes that are identified as the ceiling. |
| `static final @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/xr/scenecore/PlaneSemanticType` | `https://developer.android.com/reference/androidx/xr/scenecore/PlaneSemanticType#FLOOR()` Specify planes that are identified as the floor. |
| `static final @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/xr/scenecore/PlaneSemanticType` | `https://developer.android.com/reference/androidx/xr/scenecore/PlaneSemanticType#TABLE()` Specify planes that are identified as a table. |
| `static final @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/xr/scenecore/PlaneSemanticType` | `https://developer.android.com/reference/androidx/xr/scenecore/PlaneSemanticType#WALL()` Specify planes that are identified as a wall. |

| ### Public methods |
|---|---|
| `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/String.html` | `https://developer.android.com/reference/androidx/xr/scenecore/PlaneSemanticType#toString()()` |

## Public fields

### ALL

```
public static final @NonNull Set<@NonNull PlaneSemanticType> ALL
```

Immutable Set containing all PlaneSemanticTypes.

### CEILING

```
public static final @NonNull PlaneSemanticType CEILING
```

Specify planes that are identified as the ceiling.

### FLOOR

```
public static final @NonNull PlaneSemanticType FLOOR
```

Specify planes that are identified as the floor.

### TABLE

```
public static final @NonNull PlaneSemanticType TABLE
```

Specify planes that are identified as a table.

### WALL

```
public static final @NonNull PlaneSemanticType WALL
```

Specify planes that are identified as a wall.

## Public methods

### toString

```
public @NonNull String toString()
```