setDuckLevel
Lowers the sound by level, a factor from 1, no change, down to 0, without touching the volume. The media session guards use it to duck under a notification: the volume the listener set, and every control bound to it, stays where it is. A duck multiplies the volume, so it can only make the sound quieter.
Throws
when level is not finite or is outside 0 to 1.