• Test-only API

    Initializes Glean in testing mode.

    All platform specific APIs will be mocked.

    Parameters

    • applicationId: string

      The application ID (will be sanitized during initialization).

    • uploadEnabled: boolean = true

      Determines whether telemetry is enabled. If disabled, all persisted metrics, events and queued pings (except first_run_date) are cleared. Default to true.

    • Optional config: ConfigurationInterface

      Glean configuration options.

    Returns void

Generated using TypeDoc