Protocols
The following protocols are available globally.
-
Undocumented
See moreDeclaration
Swift
public protocol BooleanMetricProtocol
-
Undocumented
See moreDeclaration
Swift
public protocol CounterMetricProtocol
-
Undocumented
See moreDeclaration
Swift
public protocol CustomDistributionMetricProtocol
-
Undocumented
See moreDeclaration
Swift
public protocol DatetimeMetricProtocol
-
Undocumented
See moreDeclaration
Swift
public protocol DenominatorMetricProtocol
-
Undocumented
See moreDeclaration
Swift
public protocol EventMetricProtocol
-
Undocumented
See moreDeclaration
Swift
public protocol LabeledBooleanProtocol
-
Undocumented
See moreDeclaration
Swift
public protocol LabeledCounterProtocol
-
Undocumented
See moreDeclaration
Swift
public protocol LabeledStringProtocol
-
Undocumented
See moreDeclaration
Swift
public protocol MemoryDistributionMetricProtocol
-
Undocumented
See moreDeclaration
Swift
public protocol NumeratorMetricProtocol
-
Undocumented
See moreDeclaration
Swift
public protocol PingTypeProtocol
-
Undocumented
See moreDeclaration
Swift
public protocol QuantityMetricProtocol
-
Undocumented
See moreDeclaration
Swift
public protocol RateMetricProtocol
-
Undocumented
See moreDeclaration
Swift
public protocol StringListMetricProtocol
-
Undocumented
See moreDeclaration
Swift
public protocol StringMetricProtocol
-
Undocumented
See moreDeclaration
Swift
public protocol TextMetricProtocol
-
Undocumented
See moreDeclaration
Swift
public protocol TimespanMetricProtocol
-
Undocumented
See moreDeclaration
Swift
public protocol TimingDistributionMetricProtocol
-
Undocumented
See moreDeclaration
Swift
public protocol UrlMetricProtocol
-
Undocumented
See moreDeclaration
Swift
public protocol UuidMetricProtocol
-
Undocumented
See moreDeclaration
Swift
public protocol OnGleanEvents : AnyObject
-
Extra keys for events by name.
For user-defined
See moreEventMetricType
s every event with extras will get their own corresponding event extra data class.Declaration
Swift
public protocol EventExtras
-
The reasons a ping may be sent. Reason codes can be of any type, but need to adhere to a protocol.
For user-defined custom pings associated reason codes will be defined as
See moreenums
.Declaration
Swift
public protocol ReasonCodes : Hashable