Custom Protocol Support For Notification itself
This allows for a custom protocol to be called when the Notification itself is called. For example could be used to get around Toast Notifications ability to be dismissed. If the user clicks the notification you could trigger the notification to be displayed again. Also useful to perform the same action as one of the protocols assigned to the action buttons.
This commit is contained in:
parent
9064a66938
commit
4826666254
8 changed files with 46 additions and 38 deletions
|
|
@ -27,6 +27,7 @@
|
|||
<Option Name="HeroImageName" Value="ToastHeroImageWindows.jpg" /> <!-- File name of the image shown in the top of the toast notification -->
|
||||
<Option Name="ActionButton1" Enabled="True" /> <!-- Enables or disables the action button. -->
|
||||
<Option Name="ActionButton2" Enabled="True" /> <!-- Enables or disables the action button. -->
|
||||
<Option Name="LaunchProtocol" Value="microsoft-edge:" /> <!-- Action taken when the notification is clicked. Can be any protocol in Windows -->
|
||||
<Option Name="DismissButton" Enabled="True" /> <!-- Enables or disables the dismiss button. -->
|
||||
<Option Name="SnoozeButton" Enabled="False" /> <!-- Enabling this option will always enable action button and dismiss button -->
|
||||
<Option Name="Scenario" Type="reminder" /> <!-- Possible values are: reminder | short | long -->
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue