Object DynatraceSessionReplay

  • All Implemented Interfaces:

    
    public class DynatraceSessionReplay
    
                        

    The 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>

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final static Unit setConfiguration(Configuration configuration) Sets Session Replay Configuration.
      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.
      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.
      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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • 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.