# SpatializerConstants.SourceType

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/SpatializerConstants.kt+class:androidx.xr.scenecore.SpatializerConstants.SourceType) Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/xr-scenecore#1.0.0)

*** ** * ** ***


```
public final class SpatializerConstants.SourceType
```

<br />

*** ** * ** ***

Represents the type of spatialization for an audio source.

## Summary

| ### Public fields |
|---|---|
| `static final @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/xr/scenecore/SpatializerConstants.SourceType` | `https://developer.android.com/reference/androidx/xr/scenecore/SpatializerConstants.SourceType#DEFAULT()` The sound source has not been spatialized with SceneCore APIs. |
| `static final @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/xr/scenecore/SpatializerConstants.SourceType` | `https://developer.android.com/reference/androidx/xr/scenecore/SpatializerConstants.SourceType#POINT_SOURCE()` The sound source has been spatialized as a 3D point source. |
| `static final @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/xr/scenecore/SpatializerConstants.SourceType` | `https://developer.android.com/reference/androidx/xr/scenecore/SpatializerConstants.SourceType#SOUND_FIELD()` The sound source is an ambisonics sound field. |

| ### 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/SpatializerConstants.SourceType#toString()()` |

## Public fields

### DEFAULT

```
public static final @NonNull SpatializerConstants.SourceType DEFAULT
```

The sound source has not been spatialized with SceneCore APIs.

### POINT_SOURCE

```
public static final @NonNull SpatializerConstants.SourceType POINT_SOURCE
```

The sound source has been spatialized as a 3D point source.

### SOUND_FIELD

```
public static final @NonNull SpatializerConstants.SourceType SOUND_FIELD
```

The sound source is an ambisonics sound field.

## Public methods

### toString

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