first commit

This commit is contained in:
2025-07-14 00:42:12 +08:00
commit 1632c3329d
45 changed files with 2714 additions and 0 deletions

View File

@ -0,0 +1,24 @@
using Microsoft.UI.Xaml;
namespace HeartRateMonitorAndroid.Platforms.Windows
{
// Windows平台特定的通知帮助类
public static class WindowsNotificationHelper
{
// 显示通知Windows实现
public static void ShowNotification(string title, string content)
{
// Windows平台的通知实现
// 注意在实际应用中你需要使用Windows.UI.Notifications命名空间
// 或Microsoft.Toolkit.Uwp.Notifications库来实现
Console.WriteLine($"Windows通知: {title} - {content}");
}
// 取消通知
public static void CancelNotification(string tag = null)
{
// 取消Windows平台通知的实现
Console.WriteLine("取消Windows通知");
}
}
}