Object DynatraceSessionReplay
-
- All Implemented Interfaces:
public class DynatraceSessionReplayThe Dynatrace Session Replay API provides methods to track UI changes of an application.
<b>This API is under public preview and can introduce breaking changes between versions</b>
-
-
Field Summary
Fields Modifier and Type Field Description public final static DynatraceSessionReplayINSTANCE
-
Method Summary
Modifier and Type Method Description final static UnitsetConfiguration(Configuration configuration)Sets Session Replay Configuration. final static UnittrackCustomEvent(String name)Adds a custom event in Session Replay timeline with the name as value and updates the whole screen in the player. final static UnittrackCustomEvent(String name, View view)Adds a custom event in Session Replay timeline with the name as value and updates the view in Session Replay player. final static UnittrackCustomArea(String name, Rect area)Adds a custom event in Session Replay timeline with the name as value and updates the area in Session Replay player. -
-
Method Detail
-
setConfiguration
final static Unit setConfiguration(Configuration configuration)
Sets Session Replay Configuration. Transmission mode and Masking configuration are changed according to configuration
- Parameters:
configuration- Configuration for Session Replay.
-
trackCustomEvent
final static Unit trackCustomEvent(String name)
Adds a custom event in Session Replay timeline with the name as value and updates the whole screen in the player.
Only creates the event when the method is called on MainThread.
- Parameters:
name- @NonNull Value to be displayed in Session Replay timeline.
-
trackCustomEvent
final static Unit trackCustomEvent(String name, View view)
Adds a custom event in Session Replay timeline with the name as value and updates the view in Session Replay player.
Only works when the method is called on MainThread.
- Parameters:
name- @NonNull Value to be displayed in Session Replay timeline.view- Visible part of the View to be updated in Session Replay player.
-
trackCustomArea
final static Unit trackCustomArea(String name, Rect area)
Adds a custom event in Session Replay timeline with the name as value and updates the area in Session Replay player.
Only works when the method is called on MainThread.
- Parameters:
name- @NonNull Value to be displayed in Session Replay timeline.area- @NonNull a rectangle area to be captured.
-
-
-
-