Android(9.0) P features功能,特性

这篇文章,摘录自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。

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值