The following PR on XBMC's development branch attempts to make these constants available through the Python api:
https://github.com/xbmc/xbmc/pull/3059

Sadly they are available since XBMC13 alpha9 (unreleased at the time of writing), so we'll have to define fallback values for earlier XBMC versions.