Open
Description
Type of issue
Typo
Feedback
Hi @stevewhims
In addition to the Show method (immediate display of notification), the UWP notification also offers a scheduled setting of the notification via Schedule method (here the code from UWP):
new ToastContentBuilder()
.AddArgument("conversationId", "9813")
.AddToastActivationInfo(null, ToastActivationType.Foreground)
.AddText(title, hintStyle: AdaptiveTextStyle.Header)
.AddText(body, hintStyle: AdaptiveTextStyle.Body)
.SetBackgroundActivation()
.Schedule((DateTimeOffset)dateTime.Value, t =>
{
t.ExpirationTime = dateTime.Value.AddDays(1);
t.Tag = identifier;
t.Group = Shared.Utility.Appl.AppName;
t.Id = identifier;
});
I am now missing this scheduled notification for Windows App SDK in your example.
Thanks
pc
Page URL
Content source URL
Author
Document Id
0564856e-c274-3ed4-9060-f49dedf79f4d