You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/// <param name="properties">Optional: The properties to send along with the event.</param>
77
77
/// <param name="groups">Optional: Context of what groups are related to this event, example: { ["company"] = "id:5" }. Can be used to analyze companies instead of users.</param>
78
78
/// <param name="sendFeatureFlags">Default: <c>false</c>. If <c>true</c>, feature flags are sent with the captured event.</param>
79
-
/// <returns><c>true</c> if the event was successfully enqueued. Otherwise <c>false</c>.</returns>
80
-
boolCapture(
81
-
stringdistinctId,
82
-
stringeventName,
83
-
Dictionary<string,object>?properties,
84
-
GroupCollection?groups,
85
-
boolsendFeatureFlags);
86
-
87
-
/// <summary>
88
-
/// Captures an event with a custom timestamp.
89
-
/// </summary>
90
-
/// <param name="distinctId">The identifier you use for the user.</param>
91
-
/// <param name="eventName">Human friendly name of the event. Recommended format [object] [verb] such as "Project created" or "User signed up".</param>
92
-
/// <param name="properties">Optional: The properties to send along with the event.</param>
93
-
/// <param name="groups">Optional: Context of what groups are related to this event, example: { ["company"] = "id:5" }. Can be used to analyze companies instead of users.</param>
94
-
/// <param name="sendFeatureFlags">Default: <c>false</c>. If <c>true</c>, feature flags are sent with the captured event.</param>
95
-
/// <param name="timestamp">The timestamp when the event occurred.</param>
79
+
/// <param name="timestamp">Optional: Custom timestamp when the event occurred. If not provided, uses current time.</param>
96
80
/// <returns><c>true</c> if the event was successfully enqueued. Otherwise <c>false</c>.</returns>
97
81
boolCapture(
98
82
stringdistinctId,
99
83
stringeventName,
100
84
Dictionary<string,object>?properties,
101
85
GroupCollection?groups,
102
86
boolsendFeatureFlags,
103
-
DateTimeOffsettimestamp);
87
+
DateTimeOffset?timestamp=null);
104
88
105
89
/// <summary>
106
90
/// Determines whether a feature is enabled for the specified user.
0 commit comments