windows - 是否可以在 Windows 8.1 商店应用程序的锁屏上显示 Toast 通知

标签 windows windows-store-apps

我知道我们可以在锁定屏幕上显示徽章图像,但是使用 Windows 商店 javascript 应用程序锁定屏幕时可以显示 Toast 通知吗?

最佳答案

对于启用锁定屏幕的应用程序,Toa​​st 会自动显示在锁定屏幕上(但并非所有应用程序)。这是 Toast notification overview docs 的引用:

Toast associated with an app that has a tile or badge on the lock screen will also appear on the lock screen. 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.

如果您启用了锁定屏幕,则以通常的方式发送 Toast 将在锁定屏幕上显示它们。请参阅Quickstart: sending a toast notification .

关于windows - 是否可以在 Windows 8.1 商店应用程序的锁屏上显示 Toast 通知,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/19705725/

相关文章:

windows - 如何在构建 boost 后列出失败的目标?

python - 将 Python 脚本作为 Windows 后台进程运行

visual-studio-2012 - Windows 应用商店应用部署错误

windows - Windows 通用应用程序中的 ADAL 问题

c# - 如何调试 Windows 应用商店应用程序崩溃?

c# - ContactManager.RequestStoreAsync() 抛出 System.UnauthorizedAccessException

windows - Jenkins Windows slave 运行失败!框架构建

windows - 平滑圆窗角

windows - WMI 备忘单?

c - 是否有与 ImageFormat 类等效的 Windows Store 类?