質問

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

How to call this method?

役に立ちましたか?

解決

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.

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top