DownloadAgent
This commit is contained in:
@@ -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&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&threadId=92187'/>
|
||||
|
||||
<action content='Like'
|
||||
arguments='action=commentPhoto&photoId=92187'/>
|
||||
<action content='Go to comment'
|
||||
arguments='action=commentPhoto&photoId=92187'/>
|
||||
</actions>
|
||||
</toast>";
|
||||
public static string Video =
|
||||
@"<toast launch='action=viewPhoto&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>
|
||||
Reference in New Issue
Block a user