Need example program for AppOpsManager.StartWatchingMode function(Xamarin Android)
I created a project to connect wifi network by programmatically in android 10 ,11 and api level 29,30. I used AddNetworkSuggestions api for my implementation. I got notification before the connecting the network. Please refer this image given below. . My requirement is I need to control the response after clicking YES or NO option on this notification. So I refer this below "AppOpsManager.StartWatchingMode" api for my functionality.(https://learn.microsoft.com/en-us/dotnet/api/android.app.appopsmanager.startwatchingmode?view=xamarin-android-sdk-9). But I have blocker to implement the Listener(IOnOpChangedListener) for apply this function. So please give any example program to implement this.
Also please share official & valid android 10 and 11 xamarin api documentation link
Thanks.