We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a1a44f9 commit 7bf99f6Copy full SHA for 7bf99f6
Source/Shared/Extensions/EventExtensions.cs
@@ -94,6 +94,13 @@ public static bool IsFeatureUsage(this Event ev) {
94
return ev.Type == Event.KnownTypes.FeatureUsage;
95
}
96
97
+ /// <summary>
98
+ /// Returns true if the event type is session heartbeat.
99
+ /// </summary>
100
+ public static bool IsSessionHeartbeat(this Event ev) {
101
+ return ev.Type == Event.KnownTypes.SessionHeartbeat;
102
+ }
103
+
104
/// <summary>
105
/// Returns true if the event type is session start.
106
/// </summary>
0 commit comments