Where can I find programmatic access to Unity's Preferences?

I was wondering how I can get access to the values specified in Unity’s Preferences Window? Specifically I’m interested in the Android SDK folder as I want to add a PostProcessBuild step to run adb.

Found the answer in a few places. My google-fu just wasn’t up to the task. For anyone else looking for the answer

EditorPrefs.GetString("AndroidSdkRoot");

Other posts:
https://forum.unity.com/threads/accessing-android-sdk-root-location.232077/
https://forum.unity.com/threads/get-path-to-android-sdk-in-external-tools.468334/