Xiaomi Redmi Note 8 Pro 128Gb+6Gb Dual LTE Руководство по эксплуатации онлайн [41/132] 774795

Xiaomi Redmi Note 8 Pro 128Gb+6Gb Dual LTE Руководство по эксплуатации онлайн [41/132] 774795
through Notification.MessagingStyle alongside the notification text without additional
user interaction. For example, MUST show all resources including icons provided through
android.app.Person in a group conversation that is set through setGroupConversation .
[C-SR] Are STRONGLY RECOMMENDED to automatically surface a user affordance to
block a certain third-party app's notification per each channel and app package level after
the user dismisses that notification multiple times.
SHOULD support rich notifications.
SHOULD present some higher priority notifications as heads-up notifications.
SHOULD have a user affordance to snooze notifications.
MAY only manage the visibility and timing of when third-party apps can notify users of
notable events to mitigate safety issues such as driver distraction.
If device implementations support rich notifications, they:
[C-2-1] MUST use the exact resources as provided through the Notification.Style API class
and its subclasses for the presented resource elements.
SHOULD present each and every resource element (e.g. icon, title and summary text)
defined in the Notification.Style API class and its subclasses.
If device implementation support heads-up notifications: they:
[C-3-1] MUST use the heads-up notification view and resources as described in the
Notification.Builder API class when heads-up notifications are presented.
[C-3-2] MUST display the actions provided through Notification.Builder.addAction() together
with the notification content without additional user interaction as described in the SDK .
3.8.3.2. Notification Listener Service
Android includes the NotificationListenerService APIs that allow apps (once explicitly enabled by the user)
to receive a copy of all notifications as they are posted or updated.
If device implementations report the feature flag android.hardware.ram.normal , they:
[C-1-1] MUST correctly and promptly update notifications in their entirety to all such
installed and user-enabled listener services, including any and all metadata attached to
the Notification object.
[C-1-2] MUST respect the snoozeNotification() API call, and dismiss the notification and make
a callback after the snooze duration that is set in the API call.
If device implementations have a user affordance to snooze notifications, they:
[C-2-1] MUST reflect the snoozed notification status properly through the standard APIs
such as NotificationListenerService.getSnoozedNotifications() .
[C-2-2] MUST make this user affordance available to snooze notifications from each
installed third-party app's, unless they are from persistent/foreground services.
3.8.3.3. DND (Do not Disturb)
If device implementations support the DND feature, they:
[C-1-1] MUST implement an activity that would respond to the intent
ACTION_NOTIFICATION_POLICY_ACCESS_SETTINGS , which for implementations with
UI_MODE_TYPE_NORMAL it MUST be an activity where the user can grant or deny the app
Page 41 of 132

Содержание

Скачать