[英]is there a way to manage the duration of the remote notification to be displayed longer on the banner?
I am working on an App which I want the Playload notification to remain presented in the banner until the user clicks on it.我正在开发一个应用程序,我希望 Playload 通知一直显示在横幅中,直到用户点击它。 I have two cases:
我有两种情况:
is there a way to manage the notification duration, I want it to be presented until the user clicks on it.有没有办法管理通知持续时间,我希望在用户点击它之前一直显示它。
This is known as a Banner Style.这被称为横幅样式。 It can be set to either Temporary or Persistent with persistent banners requiring user interaction to disappear.
它可以设置为 Temporary 或 Persistent 以及需要用户交互才能消失的持久横幅。 You can not manipulate the duration of your notifications being displayed on screen.
您无法操纵屏幕上显示的通知的持续时间。 The banner style for the application can only be changed by the user in the notification settings for your application:
应用程序的横幅样式只能由用户在应用程序的通知设置中更改:
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.