Android Studio 4 表示从 API 26 开始不推荐使用 enterPictureInPicture - 这是不正确的,对吧?
AndroidStudio 4 says enterPictureInPicture is depracated as of API 26 - this is incorrect, right?
显示警告的 AndroidStudio 屏幕截图:
然而我发现 here 是:
Android 8.0 (API level 26) allows activities to launch in picture-in-picture (PIP) mode.
PIP is a special type of multi-window mode mostly used for video playback. It lets the
user watch a video in a small window pinned to a corner of the screen while navigating
between apps or browsing content on the main screen.
我无处可以找到它现在被贬低的地方。我是不是遗漏了什么或者 AS 有误?我想确定我没有走上一条死路。
enterPictureInPictureMode()
在 API 24 中引入,在 API 26 中弃用。它已被 enterPictureInPictureMode(PictureInPictureParams)
取代,在 API 26 中引入。
显示警告的 AndroidStudio 屏幕截图:
然而我发现 here 是:
Android 8.0 (API level 26) allows activities to launch in picture-in-picture (PIP) mode.
PIP is a special type of multi-window mode mostly used for video playback. It lets the
user watch a video in a small window pinned to a corner of the screen while navigating
between apps or browsing content on the main screen.
我无处可以找到它现在被贬低的地方。我是不是遗漏了什么或者 AS 有误?我想确定我没有走上一条死路。
enterPictureInPictureMode()
在 API 24 中引入,在 API 26 中弃用。它已被 enterPictureInPictureMode(PictureInPictureParams)
取代,在 API 26 中引入。