Access AndroidTargetDevice (PlayerSettings) from code

I’m trying to get the AndroidTargetDevice in an editor script, for example this works for iOS Architecture property:

(iPhoneArchitecture)PlayerSettings.GetPropertyInt("Architecture", BuildTargetGroup.iPhone)

However, I don’t know what the property name is for the AndroidTargetDevice. It is listed as “Device Filter” in the editor gui. Does anyone know the Property name for this field?

These do not work:

PlayerSettings.GetPropertyInt("DeviceFilter", BuildTargetGroup.Android)
PlayerSettings.GetPropertyInt("AndroidDeviceFilter", BuildTargetGroup.Android)
PlayerSettings.GetPropertyInt("TargetDevice", BuildTargetGroup.Android)

Somehow I missed this in the API:

PlayerSettings.Android.targetDevice