【发布时间】:2015-05-14 11:36:36
【问题描述】:
我正在尝试使用方法 public static IAsyncOperation<SetImageFeedResult> RequestSetImageFeedAsync(Uri syndicationFeedUri) 在 Windows 8 中从外部 Uri 播放锁定屏幕幻灯片。
当我从本教程 http://blogs.msdn.com/b/eternalcoding/archive/2013/11/13/what-a-cool-feature-controling-the-windows-8-1-lock-screen-slide-show.aspx 设置此 https://urzagatherer.azure-mobile.net/api/wallpapers RSS Uri 并打开“更改 PC 设置”时,我总是看到消息:“您需要在幻灯片中显示多张图片”,如下图所示,幻灯片没有不玩:
这是我的代码:
SetImageFeedResult result = await LockScreen.RequestSetImageFeedAsync(new Uri("https://urzagatherer.azure-mobile.net/api/wallpapers"));
if (result == SetImageFeedResult.Success)
{
AddImageFeedScenarioOutputText.Text = "Called RequestSetImageFeedAsync: the specified URL was set as the default.";
}
else if (result == SetImageFeedResult.ChangeDisabled)
{
AddImageFeedScenarioOutputText.Text = "Called RequestSetImageFeedAsync: call succeeded but group policy has the lock screen image slide show turned off.";
}
else // (result == SetImageFeedResult.UserCanceled)
{
AddImageFeedScenarioOutputText.Text = "Called RequestSetImageFeedAsync: the specified URL was not set as the default.";
}
我的解决方案有什么问题?
【问题讨论】:
标签: c# windows-8 windows-8.1 slideshow lockscreen