Pregunta

There is a public method connectWifiDisplay(String deviceAdress) in AOSP (DisplayManagerService class), but not in Android SDK.

How to call this method?

¿Fue útil?

Solución

The entire class you've linked to has been marked with @hide, which means it is not accessible through the SDK.

However, you could still technically execute the code you want using Reflection, but it is advised against this, as classes not part of the SDK are prone to changes, and the method may be altered in functionality, or cease to exist entirely in future version of Android.

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top