Classes
The following classes are available globally.
-
Instances of
HTTPMetric
can be used to record HTTP network request information.Declaration
Swift
class HTTPMetric : NSObject, PerformanceAttributable
-
This class allows you to configure the Firebase Performance Reporting SDK. It also provides the interfaces to create timers and enable or disable automatic metrics capture.
This SDK uses a Firebase Installations ID to identify the app instance and periodically sends data to the Firebase backend (see
Installations.installationID(completion:)
). To stop this periodic sync, callInstallations.delete(completion:)
and either disable this SDK or set Performance.dataCollectionEnabled to false.Declaration
Swift
class Performance : NSObject
-
FIRTrace objects contain information about a “Trace”, which is a sequence of steps. Traces can be used to measure the time taken for a sequence of steps. Traces also include “Counters”. Counters are used to track information which is cumulative in nature (e.g., Bytes downloaded). Counters are scoped to an FIRTrace object.
Declaration
Swift
class Trace : NSObject, PerformanceAttributable