博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
Android(9.0) P features功能,特性
阅读量:4292 次
发布时间:2019-05-27

本文共 3844 字,大约阅读时间需要 12 分钟。

这篇文章,摘录自Android官方文档,只简要提取了主干部分,详细的细节可以看官方文档。

(1),Indoor Positioning with Wi-Fi RTT
Android P adds platform support for the IEEE 802.11mc Wi-Fi protocol—also known as Wi-Fi Round-Trip-Time (RTT)—to let you take advantage of indoor positioning in your apps.室内wifi定位技术。
use the new RTT APIs to measure the distance to nearby RTT-capable Wi-Fi Access Points (APs).
(2),Display cutout support
    support for the latest edge-to-edge screens with display cutout for camera and speaker. The new DisplayCutout class lets you find out the location and shape of the non-functional areas where content shouldn't be displayed. To determine the existence and placement of these cutout areas, use the getDisplayCutout() method.
A new window layout attribute, layoutInDisplayCutoutMode, allows your app to lay out its content around a device's cutouts.多屏幕的裁剪显示。
(3),Notifications通知
        several enhancements to notifications, all of which are available to developers targeting Android P and above.
Simplified support for conversation participants: The new Person class is used to identify people involved in a conversation, including their avatars and URIs. 
Support for images: Android P now displays images in Messaging Notifications on phones.
Save replies as drafts: Your app can retrieve the EXTRA_REMOTE_INPUT_DRAFT sent by the system when a user inadvertently closes a messaging notification.
        Identify if a conversation is a group conversation: You can use setGroupConversation() to purposefully identify a conversation as a group or non-group conversation.
Set the semantic action for an intent: The setSemanticAction() method allows you to give semantic meaning to an action, such as "mark as read," "delete," "reply," and so on.
SmartReply: Android P supports the same suggested replies available in your messaging app. Use RemoteInput.setChoices() to provide an array of standard responses to the user.
(4)*,Channel settings, broadcasts, and Do Not Disturb
        Blocking channel groups,
    New broadcast intent types, The Android system now sends broadcast intents when the blocking state of notification channels and channel groups’ changes.

(5),Multi-camera support and camera updates多摄像头支持和Camera升级。

    In Android P the multi-camera API supports monochrome cameras for devices with FULL or LIMITED capability. Monochrome output is achieved via the YUV_420_888 format with Y as grayscale, U (Cb) as 128, and V (Cr) as 128.
Android P also enables support for external USB/UVC cameras on supported deveices.

(6),ImageDecoder for drawables and bitmaps

(7),Animation

a new AnimatedImageDrawable class for drawing and displaying GIF and WebP animated images.

(8),HDR VP9 Video, HEIF image compression, and Media APIs

        adds built-in support for High Dynamic Range (HDR) VP9 Profile 2, so you can now deliver HDR-enabled movies to your users from YouTube, Play Movies, and other sources on HDR-capable devices
HEIF still image samples are supported in the MediaMuxer and MediaExtractor classes HEIF improves compression to save on storage and network data. Media metrics are now also available from the AudioTrack, AudioRecord, and MediaDrm classes.
        Android P adds new methods to the MediaDRM class to get metrics, HDCP levels, security levels and number of sessions, and to add more control over security levels and secure stops.
AAudio API includes new AAudioStream attributes for usage, content type, and input preset.
includes a new AudioEffect API for DynamicsProcessing

(9),Data cost sensitivity in JobScheduler

        JobScheduler has been improved to let it better handle network-related jobs for the user, in coordination with network status signals provided separately by carriers.

(10), Neural Networks API 1.1神经网络

(11), Autofill framework自动填充框架

(12), Security enhancements安全加强

(13), Client-side encryption of Android backups备份的客户端加密

其他Window Rotator ,Text ,Accessbility。

转载地址:http://xjegi.baihongyu.com/

你可能感兴趣的文章
Executor相关源码分析
查看>>
react之setState解析
查看>>
elasticsearch7.3版本已经不需要额外安装中文分词插件了
查看>>
【重大好消息】elasticsearch 7.3版本已经可以免费使用x-pack就可以设置账号和密码了,让你的数据不再裸奔
查看>>
解决使用logstash中jdbc导入mysql中的数据到elasticsearch中tinyint类型被转成布尔型的问题的方法
查看>>
elasticsearch7.3版本环境搭建(一)elasticsearch安装和配置
查看>>
SEO基本功:站内优化的一些基本手段
查看>>
centos6系列和7系列如何对外开放80,3306端口号或者其他端口号
查看>>
为什么您宁愿吃生活的苦,也不愿吃学习的苦?为什么你不愿意去学习呢
查看>>
解决elasticsearch7.3版本安装过程中遇到的包括内存不够、线程不够等问题
查看>>
日常项目测试用例检查点(来自一线测试人员的吐血总结)
查看>>
网站建设之域名注册和域名备案
查看>>
解决bootstrap时间输入框总被浏览器记住的记录遮挡住的问题
查看>>
git将一个分支完全覆盖另外一个分支如:dev分支代码完全覆盖某一个开发分支
查看>>
elasticsearch7.3版本环境搭建(二)可视化管理后台kibana的安装和配置
查看>>
elasticsearch7.3版本环境搭建(三)可视化管理后台kibana的汉化(设置中文界面)
查看>>
记录一次DDos攻击实战
查看>>
分享一首小诗--《致程序员》
查看>>
为什么百度只抓取了首页而不抓取我的网站的内页的原因分析
查看>>
年薪170万的阿里P8级员工征婚有感--话说阿里真有钱,这员工要求的条件真多
查看>>