isMuted

abstract val isMuted: Boolean

Whether the player is muted.

The muted state is managed separately for the local device and any cast-compatible device. Getting the muted state while connected to a cast-compatible device returns the muted state of the cast-compatible device. Getting the muted state while not connected to a cast-compatible device returns the muted state of the local device. This means that the value can be different after PlayerEvent.CastStarted or PlayerEvent.CastStopped.

This value does not represent the system volume.

Persists across playback sessions.