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
Copy file name to clipboardExpand all lines: README.md
+17Lines changed: 17 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -409,6 +409,23 @@ val builder = TelemetryDeck.Builder()
409
409
* You can provide your own logic for session tracking by adopting
410
410
`TelemetryDeckSessionManagerProvider` and setting it as the session manager.
411
411
412
+
## Duration Signals
413
+
414
+
The SDK offers convenience methods to facilitate tracking the duration of specific objects or events.
415
+
416
+
Once started, a duration signal will be tracked internally by the SDK and upon completion, it will send the signal while also adding a `TelemetryDeck.Signal.durationInSeconds` parameter.
417
+
418
+
```kotlin
419
+
// start tracking, without sending a signal
420
+
TelemetryDeck.startDurationSignal("wizard_step1")
421
+
422
+
// end tracking, sends the signal including the total duration (excluding background time)
0 commit comments