That API was introduced in Android 10. That's currently supported by only around 60% of Android devices globally and that number would have been lower when they decided how to implement this project.
My phone did have that API, and I subjectively still found the experience janky. But that's just my opinion.