Set Sensor Sampling Period (Accelerometer) from within Unity C# script?

The Android SDK allows for setting the sample rate for sensor input when you register a new sensor listener:

I don’t know how/whether I can make this sort of call from within a Unity script. Can someone point me to resources on how to do it?

Thanks in advance.

Never mind, I figured it out: