mute

abstract fun mute()

Mutes the player.

The muted state is managed separately for the local device and any cast-compatible device. Muting the player while connected to a cast-compatible device mutes the cast-compatible device. Muting the player while not connected to a cast-compatible device mutes the local device.

Does not affect the system volume.

The muted state persists across playback sessions.