今天介绍android5.0中引入的一个新功能screen pinning,也许很多看官已经知道或者理解的比我更深刻,还请多多指点。
screen pinning,看了一些文章翻译为“屏幕固定”,在此也就引用别人的翻译。
在android5.0的文档里时这么介绍screen pinning的:
Android 5.0 introduces a new screen pinning API that lets you temporarily restrict users from leaving your task or being interrupted by notifications. This could be used, for example, if you are developing an education app to support high stakes assessment requirements on Android, or a single-purpose or kiosk application. Once your app activates screen pinning, users cannot see notifications, access other apps, or return to the home screen, until your app exits the mode.