# Enum AudioPlayerEvent

> What a player tells the application.

`zaun_client::AudioPlayerEvent` · Enum

```rust
pub enum AudioPlayerEvent { … }
```

What a player tells the application.

## Variants

### `StateChange { from, to }`

The status changed.

### `TrackStart { title }`

A resource started playing.

### `TrackEnd { title }`

A resource ended: played out, skipped, stopped or failed.

### `Error { title, error }`

A resource could not be read (the track ends), or a packet was skipped.

## Trait implementations

`Clone`, `Debug`, `Eq`, `PartialEq`, `StructuralPartialEq`

[Full rustdoc page](/docs/api/rust/zaun-client/zaun_client/voice/player/enum.AudioPlayerEvent.html)
