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.
我找不到这个现在被废弃的地方。是我错过了什么,还是我错了?我想确定我的程序没有死。
2条答案
按热度按时间ulydmbyx1#
enterPictureInPictureMode()
在API 24中引入,在API 26中弃用。它已被API 26中引入的enterPictureInPictureMode(PictureInPictureParams)
所取代。此处的文档:https://developer.android.com/reference/android/app/Activity#enterPictureInPictureMode(android.app.PictureInPictureParams)
c6ubokkw2#
public void onUserLeaveHint(){
}