How to get an actual set of supported resolutions?

As for the Depth stream, how can I get a set of actual resolutions available? There is a method SensorInfo::getSupportedVideoModes() in OpenNI2, that gives me a pretty long list that includes both 640x400 and 640x480. However, only 640x400 does really work.

What is the proper corresponding method in Astra SDK?

Thanks!