目录

Live View Design Specifications

Live view notifications sent by your app must comply with the live view design specifications. Implementations that do not comply with the design specifications will not be granted the formal permission. After the live view feature is launched in your app, any action that violates the specifications will be regarded as a violation.

  • The lifecycle of a live view cannot exceed 8 hours. After 8 hours, the system considers that the live view has terminated.

  • To ensure the timeliness of the live view content, you need to update the live view promptly. The system automatically adjusts the live view display in the following scenarios:

    • If a live view hasn't been updated for over 2 hours, its capsule display will no longer appear in the status bar or on the lock screen, but it will remain visible in the notification panel.
    • If a live view hasn't been updated for over 4 hours, the system will deem it terminated and remove it from all display entries.
  • Content design requirements for live view widgets and capsules:

    • Do not display any information involving user privacy.
    • Do not use live views for marketing or advertising purposes.
  • To ensure that the live view can be restored after a device reboot, the system persists live view data and automatically deletes it when the live view is terminated.

Design Principles

A live view aims to provide users with simple, convenient, and clear notification content, interaction, and visual presentation. Its design must comply with the live view design principles.

Template Rules

A live view supports both widget and capsule modes, offering a more visual and streamlined presentation of key information. When designing a live view widget and capsule, you must comply with the specified rules. You are advised to use the following templates for different scenarios. If these templates cannot meet your business requirements, you may customize your own template.

Node Design Requirements for Different Application Scenarios

When designing live view nodes for a specific scenario, ensure that the following requirements are met. If certain nodes are not listed here, you can add them based on your business needs, preferably by referring to the node design templates.

  • Important live view updates should use high-priority alerts such as ringtone or vibration, which can be set through the mute parameter for cloud-side updates and through the isMute parameter for device-side updates. In addition, you can configure the animation for capsules on the status bar to notify the user, through the remind parameter of capsules (only supported for cloud-side updates).

[h2]Instant Delivery

In the instant delivery scenario, you are advised to support user orders that can be completed within 8 hours. For scheduled orders, a live view should be created from the rider's pickup event or any subsequent node. The node design requirements are as follows.

Node Design Template Node Constraint Special Consideration
Pending payment

The To pay status should be displayed for no more than 5 minutes. When a user successfully cancels an order, terminate the live view immediately.
To be accepted by merchant

N/A When a merchant cancels an order, notify the user of the order information change in a timely manner.
Accepted by merchant

Reminder mode: Set it to ringtone or vibration, and enable the capsule position takeover animation. N/A
Rider picking up the order

N/A N/A
Rider arrived at store

N/A N/A
Delivery in progress

N/A N/A
Delivered/To pick up

● Reminder mode: Set it to ringtone or vibration, and configure the animation of automatically expanding the capsule into a floating widget.

● Status removal: The Delivered or To pick up status is displayed for up to 5 minutes. Upon direct handover, the status is removed immediately.

N/A

[h2]Ride-Hailing

Ride-hailing can be divided into two categories based on whether a user departs immediately: immediate ride-hailing and scheduled ride-hailing.

In the ride-hailing scenario, a single live view can be updated up to 30 times every 5 minutes and up to 180 times per hour on each device. The node design requirements are as follows.

Node Design Template Node Constraint Special Consideration
Requesting a ride

N/A

● When a user successfully cancels an order, terminate the live view immediately.

● In the case of scheduled ride-hailing, create a live view via the cloud 20 minutes before the scheduled departure to remind the user.

Queuing

N/A N/A
Driver completing previous trip

N/A N/A
Driver en route

Reminder mode: Set it to ringtone or vibration, and enable the capsule position takeover animation. In the case of order cancellation by the driver or driver reassignment, update the live view, set the reminder mode to ringtone or vibration, and configure the dynamic effect of automatically expanding the capsule into a floating widget to promptly remind the user.
Arriving soon

N/A N/A
Driver arrived

Reminder mode: Set it to ringtone or vibration, and configure the animation of automatically expanding the capsule into a floating widget. N/A
Heading to destination

N/A N/A
Trip completed

● Reminder mode: Set it to ringtone or vibration, and enable the capsule position takeover animation.

● Status removal: The To pay status is displayed for up to 5 minutes, and is removed immediately upon successful payment.

N/A

[h2]Meal Pickup

The node design requirements are as follows.

Node Design Template Node Constraint Special Consideration
Order placed

N/A When a user successfully cancels an order, terminate the live view immediately.
Meal in preparation

N/A N/A
Meal ready

● Reminder mode: Set it to ringtone or vibration, and configure the animation of automatically expanding the capsule into a floating widget.

● Status removal: The To pick up status is displayed for up to 15 minutes, and is removed immediately when a user picks up the meal.

N/A

[h2]Queuing

Queuing for a meal:

The node design requirements in the scenario of queuing for a meal are as follows.

Node Design Template Node Constraint Special Consideration
Queuing

N/A When a user successfully cancels their place in the queue, terminate the live view immediately.
Coming up

Reminder mode: Set it to ringtone or vibration, and configure the animation of automatically expanding the capsule into a floating widget. N/A
Your turn

Reminder mode: Set it to ringtone or vibration, and enable the capsule position takeover animation. N/A
Missed turn

Status removal: The Missed turn status is displayed for 5 minutes. N/A

Queuing in the bank:

The node design requirements for the bank queuing scenario are as follows.

Node Design Template Node Constraint Special Consideration
Queuing

N/A

● When a user successfully cancels their place in the queue, terminate the live view immediately.

● In the case of scheduled queuing, display the live view 30 minutes before the scheduled service time to remind the user.

Your turn

Reminder mode: Set it to ringtone or vibration, and configure the animation of automatically expanding the capsule into a floating widget. N/A
Missed turn

Status removal: The Missed turn status is displayed for 5 minutes. N/A

[h2]Timing

You are advised to support timing sessions that last no more than 8 hours. The live view can only be created and updated on the device side. The node design requirements are as follows.

Node Design Template Special Consideration
Timing in progress

● The auxiliary area of the card must clearly indicate that the timing is in progress, and must not display any content that could cause confusion about the current status.

● When a user actively or passively stops timing, terminate the live view immediately.

Paused

The auxiliary area of the card must clearly indicate that the timing is paused, and must not display any content that could cause confusion about the current status.

[h2]Air Travel

Display the live view 3 hours before the scheduled departure in the air travel scenario. The node design requirements are as follows.

Node Design Template Node Constraint Special Consideration
Not checked in

If online check-in and seat selection are not supported, remind the user to check in at the airport.

● In the case of a ticket refund or rescheduling initiated by the user, terminate the current live view and create a new one based on the updated flight itinerary.

● If a user is only tracking a flight, display a live view to notify the user of key updates about the flight, such as boarding, departure, arrival, delay, and cancellation.

Checked in

N/A In the case of seat number changes, update the live view in a timely manner to display the new seat number information.
Boarding started

Reminder mode: Set it to ringtone or vibration, and configure the animation of automatically expanding the capsule into a floating widget. N/A
Last boarding call

If a user has boarded the plane, this node is unnecessary. N/A
Boarded

N/A N/A
Departed

N/A N/A
Arrived

Status removal: The status is removed immediately for trips without checked baggage. If a user checked baggage, the status will be displayed for 30 to 60 minutes. N/A
Delayed

Reminder mode: Set it to ringtone or vibration, and configure the animation of automatically expanding the capsule into a floating widget. In the case of delays, update the information in the extended area to notify the user of the delay and estimated departure time.
Canceled

● Reminder mode: Set it to ringtone or vibration, and configure the animation of automatically expanding the capsule into a floating widget.

● Status removal: The status is displayed for up to 30 minutes.

Also provide live view solutions for the following special scenarios: flight cancellation, connection, return, unscheduled landing, loss of contact, and accident.
Boarding gate changed

Reminder mode: Set it to ringtone or vibration, and configure the animation of automatically expanding the capsule into a floating widget. In the case of boarding gate changes, update the live view in a timely manner and set a reminder to notify the user of the new boarding gate information.

[h2]Rail Travel

Display the live view 1 hour before the scheduled departure.

Node Design Template Node Constraint Special Consideration
Planned departure

N/A

● In the case of train delays, update the live view to notify the user of the delay and estimated departure time.

● In the case of temporary train stops, update the live view to notify the user of the stop and related key information, such as the reason and estimated departure time.

● In the case of train cancellation, update the live view to notify the user of the cancellation and related key information.

● After a user reschedules their trip, display the latest itinerary in the live view and remove the outdated trip.

● After a user cancels their trip, terminate the currently displayed live view.

[h2]Shared Rental

You are advised to support shared rental sessions that last no more than 8 hours.

Node Design Template Node Constraint Special Consideration
Pending payment

N/A

When a user temporarily pauses a rental, notify the user of the rental status change in a timely manner.

Rented

N/A N/A
Rental error

Reminder mode: Set it to ringtone or vibration, and configure the animation of automatically expanding the capsule into a floating widget.

In cases where an item cannot be rented due to a malfunction or other reasons, notify the user in a timely manner.

[h2]Workout

Node Design Template Special Consideration
In progress

When the workout is interrupted or paused, notify the user in a timely manner.

Workout paused

When an anomaly is detected during the workout, notify the user in a timely manner.

[h2]Clock-in/out

Key Information to Be Displayed Special Consideration Key Node Requiring Notification

● Clock-in/out location information

● Clock-in/out deadline

● When a user enters the clock-in area, display a live view to remind the user to clock in promptly.

● When a user leaves the office area, display a live view to remind the user to clock out promptly.

● After a user completes clock-in/out, terminate the live view in a timely manner.

● Clock-in/out reminder

● Clock-in/out succeeds

[h2]Express Delivery

Key Information to Be Displayed Special Consideration Key Node Requiring Notification

● Pickup location

● Number of packages to be picked up

● When a user who has a package to pick up is near the package storage location, display a live view to remind the user to pick up the package promptly.

● After the user picks up the package, terminate the live view in a timely manner.

● Pickup reminder

● Pickup completed

[h2]Progress Indicator

Key Information to Be Displayed Special Consideration Key Node Requiring Notification

● User operations (for example, uploading, downloading, importing, or exporting)

● Progress percentage

● If the upload or download process is interrupted due to user actions or unexpected errors, the interruption must be communicated to the user promptly.

● The completion of key progress milestones must be communicated to the user in a timely manner.

● Progress interrupted

● Progress completed

[h2]Live Scores

Key Information to Be Displayed Special Consideration Key Node Requiring Notification

● Match name and session

● Team names

● Live scores

● Match time

● When the match is interrupted or paused, or resumes, notify the user in a timely manner.

● Match started

● Match paused

● Match resumed

● Match ended

[h2]Financial Trading

Key Information to Be Displayed Special Consideration Key Node Requiring Notification

● Stock code, stock name, and buy/sell quantity

● Real-time price curve

● User operations (such as order placement for buy/sell)

● Order price, current price, transaction price, rejected orders, and other information

● When a buy/sell order is submitted, notify the user promptly.

● When an order is partially executed, notify the user promptly.

● When an order is fully executed, notify the user promptly.

● When an order is rejected, terminate the live view in a timely manner.

● Partial or full execution

● Order rejection