pkar.UWP.Triggers 1.0.1

The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org. Prefix Reserved
dotnet add package pkar.UWP.Triggers --version 1.0.1
NuGet\Install-Package pkar.UWP.Triggers -Version 1.0.1
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="pkar.UWP.Triggers" Version="1.0.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add pkar.UWP.Triggers --version 1.0.1
#r "nuget: pkar.UWP.Triggers, 1.0.1"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install pkar.UWP.Triggers as a Cake Addin
#addin nuget:?package=pkar.UWP.Triggers&version=1.0.1

// Install pkar.UWP.Triggers as a Cake Tool
#tool nuget:?package=pkar.UWP.Triggers&version=1.0.1

This Nuget contains wrappers for UWP Triggers.

Function IsTriggersRegistered() As Boolean
Function IsTriggersRegistered(nameFragment As String) As Boolean
Async Function CanRegisterTriggersAsync() As Task(Of Boolean)

Sub UnregisterTriggers()
Sub UnregisterTriggers(nameFragment As String)

Function RegisterTimerTrigger(name As String, freshnessMinutes As Integer, Optional oneShot As Boolean = False, Optional condition As Background.SystemCondition = Nothing) As BackgroundTaskRegistration
Function RegisterUserPresentTrigger(Optional Name As String = "", Optional oneShot As Boolean = False) As BackgroundTaskRegistration
Function RegisterServicingCompletedTrigger(Optional Name As String = "") As BackgroundTaskRegistration
Function RegisterToastTrigger(Optional Name As String = ") As BackgroundTaskRegistration

Function RegisterMidnightTrigger() As BackgroundTaskRegistration
Function IsThisMidnightTrigger(args As BackgroundActivatedEventArgs) As Boolean

Function DumpTriggers() As String
Function GetLastMidnightTriggerDate() As Date
Product Compatible and additional computed target framework versions.
Universal Windows Platform netcore50 is compatible.  uap was computed.  uap10.0 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.1 139 10/13/2023
1.0.0 133 10/13/2023

Initial release.