Currently, there seems to be no support for WPA3, as the Android implementation always uses setWpa2Passphrase. Ideally, it would be possible to connect to networks via WPA3 as well in order to improve security. WPA2 is no longer the gold-standard of WiFi security, and WPA3 has existed for quite a while already.