Protocols
The following protocols are available globally.
-
Undocumented
See moreDeclaration
Swift
public protocol BooleanMetricProtocol : AnyObject
-
Undocumented
See moreDeclaration
Swift
public protocol CounterMetricProtocol : AnyObject
-
Undocumented
See moreDeclaration
Swift
public protocol CustomDistributionMetricProtocol : AnyObject
-
Undocumented
See moreDeclaration
Swift
public protocol DatetimeMetricProtocol : AnyObject
-
Undocumented
See moreDeclaration
Swift
public protocol DenominatorMetricProtocol : AnyObject
-
Undocumented
See moreDeclaration
Swift
public protocol EventMetricProtocol : AnyObject
-
Undocumented
See moreDeclaration
Swift
public protocol LabeledBooleanProtocol : AnyObject
-
Undocumented
See moreDeclaration
Swift
public protocol LabeledCounterProtocol : AnyObject
-
Undocumented
See moreDeclaration
Swift
public protocol LabeledStringProtocol : AnyObject
-
Undocumented
See moreDeclaration
Swift
public protocol MemoryDistributionMetricProtocol : AnyObject
-
Undocumented
See moreDeclaration
Swift
public protocol NumeratorMetricProtocol : AnyObject
-
Undocumented
See moreDeclaration
Swift
public protocol ObjectMetricProtocol : AnyObject
-
Undocumented
See moreDeclaration
Swift
public protocol PingTypeProtocol : AnyObject
-
Undocumented
See moreDeclaration
Swift
public protocol QuantityMetricProtocol : AnyObject
-
Undocumented
See moreDeclaration
Swift
public protocol RateMetricProtocol : AnyObject
-
Undocumented
See moreDeclaration
Swift
public protocol StringListMetricProtocol : AnyObject
-
Undocumented
See moreDeclaration
Swift
public protocol StringMetricProtocol : AnyObject
-
Undocumented
See moreDeclaration
Swift
public protocol TextMetricProtocol : AnyObject
-
Undocumented
See moreDeclaration
Swift
public protocol TimespanMetricProtocol : AnyObject
-
Undocumented
See moreDeclaration
Swift
public protocol TimingDistributionMetricProtocol : AnyObject
-
Undocumented
See moreDeclaration
Swift
public protocol UrlMetricProtocol : AnyObject
-
Undocumented
See moreDeclaration
Swift
public protocol UuidMetricProtocol : AnyObject
-
Undocumented
See moreDeclaration
Swift
public protocol GleanEventListener : AnyObject
-
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
-
An object that can be serialized into JSON.
Objects are defined by their structure in the metrics definition.
See moreDeclaration
Swift
public protocol ObjectSerialize : Decodable, Encodable
-
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