decodeAsAudioPlaybackState

Deserializes a playback session state written by AudioPlaybackSession.State.encodeToByteArray.

AudioPlaybackSession.State.Error is reconstructed from the stored message only; the original throwable is not restored.