# SoundPlayState

## Overview

SoundPlayState is an Enum that represents the cause of a sound's playback state change. It is used to distinguish the reason for state changes such as play, pause, and stop events on a Sound object.

## Items

| Name              | Value | Description                                                                                   |
| ----------------- | ----- | --------------------------------------------------------------------------------------------- |
| Played            | 0     | The state in which sound playback has started via the `Play()` method.                        |
| Resumed           | 1     | The state in which sound playback has been resumed via the `Resume()` method.                 |
| Paused            | 2     | The state in which sound has been paused via the `Pause()` method.                            |
| Stopped           | 3     | The state in which sound has been stopped via the `Stop()` method.                            |
| ResumedByProperty | 4     | The state in which sound playback has been resumed by setting the `Playing` property to true. |
| PausedByProperty  | 5     | The state in which sound has been paused by setting the `Playing` property to false.          |
| Ended             | 6     | The state in which sound has automatically ended after playing to completion.                 |


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.overdare.com/development/api-reference/enums/soundplaystate.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
