[英]Is it possible to show toast notification on lockscreen in windows 8.1 store app
我知道我们可以在锁定屏幕上显示徽章图像,但是当使用Windows Store javascript应用程序锁定屏幕时可以显示烘烤通知吗?
Toasts automatically appear on the lock screen for lock screen-enabled apps (not for all apps, however). 对于启用了锁屏功能的应用程序(但不是所有应用程序),吐司自动显示在锁定屏幕上。 Here's a quote from the Toast notification overview docs :
这是Toast通知概述docs中的报价:
Toast associated with an app that has a tile or badge on the lock screen will also appear on the lock screen.
与在锁定屏幕上具有图块或标志的应用相关联的Toast也将出现在锁定屏幕上。 Toast shown on the lock screen is identical to toast shown elsewhere.
锁定屏幕上显示的吐司与其他地方显示的吐司相同。 It differs in that all toasts on the lock screen are shown for the length of a long-duration toast.
区别在于在锁定屏幕上显示的所有吐司都是长时间吐司的长度。 For more information, see the Lock screen overview .
有关更多信息,请参阅“ 锁定屏幕概述” 。
If you are lock-screen enabled, then sending toasts in the usual way will surface them on the lock screen. 如果启用了锁屏功能,则以常规方式发送祝酒词会在锁屏上显示它们。 See Quickstart: sending a toast notification .
请参阅快速入门:发送祝酒通知 。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.