Hello,
Welcome to our Microsoft Q&A platform!
If your android target framework version is Android 10 (API level 29), you can use WifiNetworkSuggestion.Builder.setPriority method to set the Wi-Fi Priority for Android.
If you use WifiConfiguration
to connect Wi-Fi in API level 26, you can set the priority directly.
Best Regards,
Leon Lu
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.