I want to know how to get all valid paths for a specific URI. For example (not just a example, because it's my specific problem), if the URI is content://settings, I want to get an array similar to this ["system", "secure", "global"] preferably sorted by their IDs, such that I can get their IDs just by looking at the index. Or even better, a dictionary where the keys are the setting categories, and the values are their corresponding IDs, like this {"system": 0, "secure": 1, "global": 2}.
I want this to work with any other provider, not just settings please