Done in Software, The gain is related to the Amp within the Dongle.
See @abcd567 posts.
Depending on the noise level at any location, you may get better results by lowering the gain.
Systems like the Airspy and radarcape have very wide dynamic ranges, so are so critical with their gain settings,