You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|[getTelemetry(app)](./telemetry.md#gettelemetry_cf608e1)| Returns the default [Telemetry](./telemetry.telemetry.md#telemetry_interface) instance that is associated with the provided [FirebaseApp](./app.firebaseapp.md#firebaseapp_interface)<!---->. If no instance exists, initializes a new instance with the default settings. |
20
+
| <b>function(telemetry, ...)</b> |
21
+
|[captureError(telemetry, error)](./telemetry.md#captureerror_7c2d94e)| Enqueues an error to be uploaded to the Firebase Telemetry API. |
22
+
|[flush(telemetry)](./telemetry.md#flush_8975134)| Flushes all enqueued telemetry data immediately, instead of waiting for default batching. |
20
23
21
-
## function()
24
+
## Interfaces
22
25
23
-
### registerTelemetry() {:#registertelemetry}
26
+
| Interface | Description |
27
+
| --- | --- |
28
+
|[Telemetry](./telemetry.telemetry.md#telemetry_interface)| An instance of the Firebase Telemetry SDK.<!---->Do not create this instance directly. Instead, use [getTelemetry()](./telemetry.md#gettelemetry_cf608e1)<!---->. |
29
+
30
+
## function(app, ...)
31
+
32
+
### getTelemetry(app) {:#gettelemetry_cf608e1}
33
+
34
+
Returns the default [Telemetry](./telemetry.telemetry.md#telemetry_interface) instance that is associated with the provided [FirebaseApp](./app.firebaseapp.md#firebaseapp_interface)<!---->. If no instance exists, initializes a new instance with the default settings.
The default [Telemetry](./telemetry.telemetry.md#telemetry_interface) instance for the given [FirebaseApp](./app.firebaseapp.md#firebaseapp_interface)<!---->.
0 commit comments