Archived
1
0

DownloadAgent

This commit is contained in:
Michael Gordeev
2018-07-11 18:58:05 +03:00
parent 839be10ed2
commit 71cc12106c
39 changed files with 1359 additions and 55 deletions
+45
View File
@@ -0,0 +1,45 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace FoxTube.Background
{
public static class ToastTemplates
{
public static string Comment =
@"<toast launch='action=openThread&amp;threadId=92187'>
<visual>
<binding template='ToastGeneric'>
<image placement='appLogoOverride' hint-crop='circle' src='Assets/Icons/Profile.png'/>
<text>[ChannelName] posted a new comment</text>
<text>[VideoName]</text>
</binding>
</visual>
<actions>
<input id='textBox' type='text' placeHolderContent='Send a reply'/>
<action content='Send' imageUri='Assets/Icons/Send.png'
hint-inputId='textBox' activationType='background'
arguments='action=reply&amp;threadId=92187'/>
<action content='Like'
arguments='action=commentPhoto&amp;photoId=92187'/>
<action content='Go to comment'
arguments='action=commentPhoto&amp;photoId=92187'/>
</actions>
</toast>";
public static string Video =
@"<toast launch='action=viewPhoto&amp;photoId=92187'>
<visual>
<binding template='ToastGeneric'>
<image placement='appLogoOverride' hint-crop='circle' src='Assets/Icons/Profile.png'/>
<text>[ChannelName] uploaded a new video</text>
<text>[VideoName]</text>
<image src='Assets/videoThumbSample.png'/>
</binding>
</visual>
<actions>