菜单
  

    HIGH    Use high priority notifications primarily for important communication, such as message or chat events with content that is particularly interesting for the user. High priority notifications will get the Heads-Up Notification display starting in L.
    DEFAULT    The default priority. Keep all notifications that don't fall into any of the other categories at this priority level.
    LOW    Use for notifications that you still want the user to be informed about, but that rate low in urgency. LOW notifications will tend to show up at the bottom of the list, which makes them a good choice for things like pubic/undirected social updates: the user has asked to be notified about them, but they should never take precedence over urgent or direct communication.
    MIN    Contextual/background information (e.g. weather information, contextual location information). Minimum priority notifications will not show in the status bar. The user will only discover them when they expand the notification shade.
    How to choose an appropriate priority
    Default, High, and Max priority are interruptive priority levels and risk interrupting the user from what they are doing. This should not be taken lightly, so these levels should be reserved for notifications that:
        Involve another person
        Are time-sensitive
        Might immediately change the user's behavior in the real world
    Notifications set to LOW and MIN can still be very valuable for the user. Many if not most notifications just don't need to command the user's immediate attention, or vibrate the user's wrist, yet contain information that they will find valuable when they choose to look for notifications. Criteria for LOW and MIN priority notifications:
        Don't involve other people
        Aren't time sensitive
        Is content the user might be interested in but could choose to browse at their leisure
     
    Set a notification category
    If your notification falls into one of the predefined categories (see below), assign it accordingly. Aspects of the system UI such as the notification shade (or any other notification listener) may use this information to make ranking and filtering decisions.

    Notification.CATEGORY_CALL    Incoming call (voice or video) or similar synchronous communication request
    Notification.CATEGORY_MESSAGE    Incoming direct message (SMS, instant message, etc.)
    Notification.CATEGORY_EMAIL    Asynchronous bulk message (email)
    Notification.CATEGORY_EVENT    Calendar event
    Notification.CATEGORY_PROMO    Promotion or advertisement
    Notification.CATEGORY_ALARM    Alarm or timer
    Summarize your notifications
    If your app creates a notification while another of the same type is still pending, avoid creating an altogether new notification object. Instead, turn it into a summary notification for the app.
    A summary notification builds a summary description and allows the user to understand how many notifications of a particular kind are pending.
    You can provide more detail about the inpidual notifications that make up a summary by using the expanded digest layout. This allows users to gain a better sense of which notifications are pending and if they are interesting enough to be read in detail within the associated app.
    Make notifications optional
    Users should always be in control of notifications. Allow the user to disable your app's notifications or change their alert properties, such as alert sound and whether to use vibration, by adding a notification settings item to your application settings.
    Use distinct icons
    By glancing at the notification area, the user should be able to discern what kinds of notifications are currently pending.
  1. 上一篇:软件测试和软件开发生命周期英文文献和翻译
  2. 下一篇:C#英文文献和中文翻译
  1. 汽车内燃机连杆载荷和应...

  2. 机械手系统英文文献和中文翻译

  3. 固体氧化物燃料电池英文文献和中文翻译

  4. 船舶运动仿真系统英文文献和中文翻译

  5. 新能源空调系统设计英文文献和中文翻译

  6. 正交试验回归法和响应曲...

  7. 机械设计制造及其自动化英文文献和中文翻译

  8. 现代简约美式风格在室内家装中的运用

  9. g-C3N4光催化剂的制备和光催化性能研究

  10. 高警觉工作人群的元情绪...

  11. NFC协议物理层的软件实现+文献综述

  12. 浅析中国古代宗法制度

  13. 上市公司股权结构对经营绩效的影响研究

  14. 巴金《激流三部曲》高觉新的悲剧命运

  15. 江苏省某高中学生体质现状的调查研究

  16. C++最短路径算法研究和程序设计

  17. 中国传统元素在游戏角色...

  

About

优尔论文网手机版...

主页:http://www.youerw.com

关闭返回