• Initialize This method should only be called once, subsequent calls will be no-op.


    • applicationId: string

      The application ID (will be sanitized during initialization).

    • uploadEnabled: boolean

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

    • Optional config: ConfigurationInterface

      Glean configuration options.

    Returns void


    • If config.serverEndpoint is an invalid URL;
    • If the application if is an empty string.

Generated using TypeDoc