Audio Capturing setRate()

I’m using Media to successfully record and capture audio files on Android.
By default the files created have a sample rate of 16k which is too low for my needs.
I’ve noticed there is a setRate() but I can’t find which values it accepts.

Please advise.