diff --git a/ObservatoryExplorer/Explorer.cs b/ObservatoryExplorer/Explorer.cs
index 968fbc4..e66c918 100644
--- a/ObservatoryExplorer/Explorer.cs
+++ b/ObservatoryExplorer/Explorer.cs
@@ -240,6 +240,7 @@ namespace Observatory.Explorer
if (results.Count > 0)
{
StringBuilder notificationDetail = new();
+ StringBuilder notificationExtendedDetail = new();
foreach (var result in results)
{
var scanResult = new ExplorerUIResults()
@@ -251,6 +252,7 @@ namespace Observatory.Explorer
};
ObservatoryCore.AddGridItem(ExplorerWorker, scanResult);
notificationDetail.AppendLine(result.Description);
+ notificationExtendedDetail.AppendLine(result.Detail);
}
string bodyAffix;
@@ -293,7 +295,10 @@ namespace Observatory.Explorer
{
Title = bodyLabel + bodyAffix,
TitleSsml = $"{bodyLabel} {spokenAffix}",
- Detail = notificationDetail.ToString()
+ Detail = notificationDetail.ToString(),
+ Sender = ExplorerWorker.ShortName,
+ ExtendedDetails = notificationExtendedDetail.ToString(),
+ CoalescingId = scanEvent.BodyID,
};
ObservatoryCore.SendNotification(args);
diff --git a/ObservatoryFramework/EventArgs.cs b/ObservatoryFramework/EventArgs.cs
index d2b1166..de638a8 100644
--- a/ObservatoryFramework/EventArgs.cs
+++ b/ObservatoryFramework/EventArgs.cs
@@ -62,6 +62,18 @@ namespace Observatory.Framework
/// Specifies if some part of the notification should be suppressed. Not supported by all notifiers. Defaults to .
///
public NotificationSuppression Suppression = NotificationSuppression.None;
+ ///
+ /// The plugin sending this notification.
+ ///
+ public string Sender = "";
+ ///
+ /// Additional notification detailed (generally not rendered by voice or popup; potentially used by aggregating/logging plugins).
+ ///
+ public string ExtendedDetails;
+ ///
+ /// A value which allows grouping of notifications together. For example, values >= 0 <= 1000 could be system body IDs, -1 is the system, anything else is arbitrary.
+ ///
+ public int CoalescingId;
}
///
diff --git a/ObservatoryFramework/ObservatoryFramework.xml b/ObservatoryFramework/ObservatoryFramework.xml
index c65f353..63ab194 100644
--- a/ObservatoryFramework/ObservatoryFramework.xml
+++ b/ObservatoryFramework/ObservatoryFramework.xml
@@ -148,6 +148,21 @@
Specifies if some part of the notification should be suppressed. Not supported by all notifiers. Defaults to .
+
+
+ The plugin sending this notification.
+
+
+
+
+ Additional notification detailed (generally not rendered by voice or popup; potentially used by aggregating/logging plugins).
+
+
+
+
+ A value which allows grouping of notifications together. For example, values >= 0 <= 1000 could be system body IDs, -1 is the system, anything else is arbitrary.
+
+
Defines constants for suppression of title or detail announcement in a notification.