RUM JavaScript API - 1.345.1
    Preparing search index...

    Function setAutomaticDetection

    • Async wrapper for dynatrace.userActions.setAutomaticDetection.

      Disabling automatic detection only prevents future automatic user actions from being created. It does not complete, interrupt, or otherwise affect the currently active user action.

      Parameters

      • automaticDetection: boolean

        If false, pauses creation of future automatic user actions; otherwise resumes it.

      • timeout: number = 10_000

        Timeout in milliseconds to wait for the RUM JavaScript and user actions module to be available (default: 10000)

      Returns Promise<void>

      A DynatraceError if the RUM JavaScript or user actions module is not available within the timeout