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.

Last updated