Hi, I'm trying to reliably detect when Miracast is used and the screen id mirrored to a WiFi display. I haven't found in the documentation of android.view.Display any indication of whether the display is WiFi or not. However, when I debug the code I see that the Display object has a member of type DisplayType which has the required information.
I'm puzzled to discover that in the AOSP sources there is a function in Display class to retrieve this DisplayInfo, as well as in the sources coming with the SDK. So can I use this function and DisplayInfo? Should I use reflection for that? Is it reliable? Moshe -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups "Android Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.

