Functions
The following functions are available globally.
-
Undocumented
Declaration
Swift
public func FfiConverterTypeBooleanMetric_lift(_ pointer: UnsafeMutableRawPointer) throws -> BooleanMetric
-
Undocumented
Declaration
Swift
public func FfiConverterTypeBooleanMetric_lower(_ value: BooleanMetric) -> UnsafeMutableRawPointer
-
Undocumented
Declaration
Swift
public func FfiConverterTypeCounterMetric_lift(_ pointer: UnsafeMutableRawPointer) throws -> CounterMetric
-
Undocumented
Declaration
Swift
public func FfiConverterTypeCounterMetric_lower(_ value: CounterMetric) -> UnsafeMutableRawPointer
-
Undocumented
Declaration
Swift
public func FfiConverterTypeCustomDistributionMetric_lift(_ pointer: UnsafeMutableRawPointer) throws -> CustomDistributionMetric
-
Undocumented
Declaration
Swift
public func FfiConverterTypeCustomDistributionMetric_lower(_ value: CustomDistributionMetric) -> UnsafeMutableRawPointer
-
Undocumented
Declaration
Swift
public func FfiConverterTypeDatetimeMetric_lift(_ pointer: UnsafeMutableRawPointer) throws -> DatetimeMetric
-
Undocumented
Declaration
Swift
public func FfiConverterTypeDatetimeMetric_lower(_ value: DatetimeMetric) -> UnsafeMutableRawPointer
-
Undocumented
Declaration
Swift
public func FfiConverterTypeDenominatorMetric_lift(_ pointer: UnsafeMutableRawPointer) throws -> DenominatorMetric
-
Undocumented
Declaration
Swift
public func FfiConverterTypeDenominatorMetric_lower(_ value: DenominatorMetric) -> UnsafeMutableRawPointer
-
Undocumented
Declaration
Swift
public func FfiConverterTypeEventMetric_lift(_ pointer: UnsafeMutableRawPointer) throws -> EventMetric
-
Undocumented
Declaration
Swift
public func FfiConverterTypeEventMetric_lower(_ value: EventMetric) -> UnsafeMutableRawPointer
-
Undocumented
Declaration
Swift
public func FfiConverterTypeLabeledBoolean_lift(_ pointer: UnsafeMutableRawPointer) throws -> LabeledBoolean
-
Undocumented
Declaration
Swift
public func FfiConverterTypeLabeledBoolean_lower(_ value: LabeledBoolean) -> UnsafeMutableRawPointer
-
Undocumented
Declaration
Swift
public func FfiConverterTypeLabeledCounter_lift(_ pointer: UnsafeMutableRawPointer) throws -> LabeledCounter
-
Undocumented
Declaration
Swift
public func FfiConverterTypeLabeledCounter_lower(_ value: LabeledCounter) -> UnsafeMutableRawPointer
-
Undocumented
Declaration
Swift
public func FfiConverterTypeLabeledString_lift(_ pointer: UnsafeMutableRawPointer) throws -> LabeledString
-
Undocumented
Declaration
Swift
public func FfiConverterTypeLabeledString_lower(_ value: LabeledString) -> UnsafeMutableRawPointer
-
Undocumented
Declaration
Swift
public func FfiConverterTypeMemoryDistributionMetric_lift(_ pointer: UnsafeMutableRawPointer) throws -> MemoryDistributionMetric
-
Undocumented
Declaration
Swift
public func FfiConverterTypeMemoryDistributionMetric_lower(_ value: MemoryDistributionMetric) -> UnsafeMutableRawPointer
-
Undocumented
Declaration
Swift
public func FfiConverterTypeNumeratorMetric_lift(_ pointer: UnsafeMutableRawPointer) throws -> NumeratorMetric
-
Undocumented
Declaration
Swift
public func FfiConverterTypeNumeratorMetric_lower(_ value: NumeratorMetric) -> UnsafeMutableRawPointer
-
Undocumented
Declaration
Swift
public func FfiConverterTypeObjectMetric_lift(_ pointer: UnsafeMutableRawPointer) throws -> ObjectMetric
-
Undocumented
Declaration
Swift
public func FfiConverterTypeObjectMetric_lower(_ value: ObjectMetric) -> UnsafeMutableRawPointer
-
Undocumented
Declaration
Swift
public func FfiConverterTypePingType_lift(_ pointer: UnsafeMutableRawPointer) throws -> PingType
-
Undocumented
Declaration
Swift
public func FfiConverterTypePingType_lower(_ value: PingType) -> UnsafeMutableRawPointer
-
Undocumented
Declaration
Swift
public func FfiConverterTypeQuantityMetric_lift(_ pointer: UnsafeMutableRawPointer) throws -> QuantityMetric
-
Undocumented
Declaration
Swift
public func FfiConverterTypeQuantityMetric_lower(_ value: QuantityMetric) -> UnsafeMutableRawPointer
-
Undocumented
Declaration
Swift
public func FfiConverterTypeRateMetric_lift(_ pointer: UnsafeMutableRawPointer) throws -> RateMetric
-
Undocumented
Declaration
Swift
public func FfiConverterTypeRateMetric_lower(_ value: RateMetric) -> UnsafeMutableRawPointer
-
Undocumented
Declaration
Swift
public func FfiConverterTypeStringListMetric_lift(_ pointer: UnsafeMutableRawPointer) throws -> StringListMetric
-
Undocumented
Declaration
Swift
public func FfiConverterTypeStringListMetric_lower(_ value: StringListMetric) -> UnsafeMutableRawPointer
-
Undocumented
Declaration
Swift
public func FfiConverterTypeStringMetric_lift(_ pointer: UnsafeMutableRawPointer) throws -> StringMetric
-
Undocumented
Declaration
Swift
public func FfiConverterTypeStringMetric_lower(_ value: StringMetric) -> UnsafeMutableRawPointer
-
Undocumented
Declaration
Swift
public func FfiConverterTypeTextMetric_lift(_ pointer: UnsafeMutableRawPointer) throws -> TextMetric
-
Undocumented
Declaration
Swift
public func FfiConverterTypeTextMetric_lower(_ value: TextMetric) -> UnsafeMutableRawPointer
-
Undocumented
Declaration
Swift
public func FfiConverterTypeTimespanMetric_lift(_ pointer: UnsafeMutableRawPointer) throws -> TimespanMetric
-
Undocumented
Declaration
Swift
public func FfiConverterTypeTimespanMetric_lower(_ value: TimespanMetric) -> UnsafeMutableRawPointer
-
Undocumented
Declaration
Swift
public func FfiConverterTypeTimingDistributionMetric_lift(_ pointer: UnsafeMutableRawPointer) throws -> TimingDistributionMetric
-
Undocumented
Declaration
Swift
public func FfiConverterTypeTimingDistributionMetric_lower(_ value: TimingDistributionMetric) -> UnsafeMutableRawPointer
-
Undocumented
Declaration
Swift
public func FfiConverterTypeUrlMetric_lift(_ pointer: UnsafeMutableRawPointer) throws -> UrlMetric
-
Undocumented
Declaration
Swift
public func FfiConverterTypeUrlMetric_lower(_ value: UrlMetric) -> UnsafeMutableRawPointer
-
Undocumented
Declaration
Swift
public func FfiConverterTypeUuidMetric_lift(_ pointer: UnsafeMutableRawPointer) throws -> UuidMetric
-
Undocumented
Declaration
Swift
public func FfiConverterTypeUuidMetric_lower(_ value: UuidMetric) -> UnsafeMutableRawPointer
-
Undocumented
Declaration
Swift
public func FfiConverterTypeClientInfoMetrics_lift(_ buf: RustBuffer) throws -> ClientInfoMetrics
-
Undocumented
Declaration
Swift
public func FfiConverterTypeClientInfoMetrics_lower(_ value: ClientInfoMetrics) -> RustBuffer
-
Undocumented
Declaration
Swift
public func FfiConverterTypeCommonMetricData_lift(_ buf: RustBuffer) throws -> CommonMetricData
-
Undocumented
Declaration
Swift
public func FfiConverterTypeCommonMetricData_lower(_ value: CommonMetricData) -> RustBuffer
-
Undocumented
Declaration
Swift
public func FfiConverterTypeDatetime_lift(_ buf: RustBuffer) throws -> Datetime
-
Undocumented
Declaration
Swift
public func FfiConverterTypeDatetime_lower(_ value: Datetime) -> RustBuffer
-
Undocumented
Declaration
Swift
public func FfiConverterTypeDistributionData_lift(_ buf: RustBuffer) throws -> DistributionData
-
Undocumented
Declaration
Swift
public func FfiConverterTypeDistributionData_lower(_ value: DistributionData) -> RustBuffer
-
Undocumented
Declaration
Swift
public func FfiConverterTypeInternalConfiguration_lift(_ buf: RustBuffer) throws -> InternalConfiguration
-
Undocumented
Declaration
Swift
public func FfiConverterTypeInternalConfiguration_lower(_ value: InternalConfiguration) -> RustBuffer
-
Undocumented
Declaration
Swift
public func FfiConverterTypePingRateLimit_lift(_ buf: RustBuffer) throws -> PingRateLimit
-
Undocumented
Declaration
Swift
public func FfiConverterTypePingRateLimit_lower(_ value: PingRateLimit) -> RustBuffer
-
Undocumented
Declaration
Swift
public func FfiConverterTypePingRequest_lift(_ buf: RustBuffer) throws -> PingRequest
-
Undocumented
Declaration
Swift
public func FfiConverterTypePingRequest_lower(_ value: PingRequest) -> RustBuffer
-
Undocumented
Declaration
Swift
public func FfiConverterTypeRate_lift(_ buf: RustBuffer) throws -> Rate
-
Undocumented
Declaration
Swift
public func FfiConverterTypeRate_lower(_ value: Rate) -> RustBuffer
-
Undocumented
Declaration
Swift
public func FfiConverterTypeRecordedEvent_lift(_ buf: RustBuffer) throws -> RecordedEvent
-
Undocumented
Declaration
Swift
public func FfiConverterTypeRecordedEvent_lower(_ value: RecordedEvent) -> RustBuffer
-
Undocumented
Declaration
Swift
public func FfiConverterTypeRecordedExperiment_lift(_ buf: RustBuffer) throws -> RecordedExperiment
-
Undocumented
Declaration
Swift
public func FfiConverterTypeRecordedExperiment_lower(_ value: RecordedExperiment) -> RustBuffer
-
Undocumented
Declaration
Swift
public func FfiConverterTypeTimerId_lift(_ buf: RustBuffer) throws -> TimerId
-
Undocumented
Declaration
Swift
public func FfiConverterTypeTimerId_lower(_ value: TimerId) -> RustBuffer
-
Undocumented
Declaration
Swift
public func FfiConverterTypeErrorType_lift(_ buf: RustBuffer) throws -> ErrorType
-
Undocumented
Declaration
Swift
public func FfiConverterTypeErrorType_lower(_ value: ErrorType) -> RustBuffer
-
Undocumented
Declaration
Swift
public func FfiConverterTypeHistogramType_lift(_ buf: RustBuffer) throws -> HistogramType
-
Undocumented
Declaration
Swift
public func FfiConverterTypeHistogramType_lower(_ value: HistogramType) -> RustBuffer
-
Undocumented
Declaration
Swift
public func FfiConverterTypeLabeledMetricData_lift(_ buf: RustBuffer) throws -> LabeledMetricData
-
Undocumented
Declaration
Swift
public func FfiConverterTypeLabeledMetricData_lower(_ value: LabeledMetricData) -> RustBuffer
-
Undocumented
Declaration
Swift
public func FfiConverterTypeLevelFilter_lift(_ buf: RustBuffer) throws -> LevelFilter
-
Undocumented
Declaration
Swift
public func FfiConverterTypeLevelFilter_lower(_ value: LevelFilter) -> RustBuffer
-
Undocumented
Declaration
Swift
public func FfiConverterTypeLifetime_lift(_ buf: RustBuffer) throws -> Lifetime
-
Undocumented
Declaration
Swift
public func FfiConverterTypeLifetime_lower(_ value: Lifetime) -> RustBuffer
-
Undocumented
Declaration
Swift
public func FfiConverterTypeMemoryUnit_lift(_ buf: RustBuffer) throws -> MemoryUnit
-
Undocumented
Declaration
Swift
public func FfiConverterTypeMemoryUnit_lower(_ value: MemoryUnit) -> RustBuffer
-
Undocumented
Declaration
Swift
public func FfiConverterTypePingUploadTask_lift(_ buf: RustBuffer) throws -> PingUploadTask
-
Undocumented
Declaration
Swift
public func FfiConverterTypePingUploadTask_lower(_ value: PingUploadTask) -> RustBuffer
-
Undocumented
Declaration
Swift
public func FfiConverterTypeTimeUnit_lift(_ buf: RustBuffer) throws -> TimeUnit
-
Undocumented
Declaration
Swift
public func FfiConverterTypeTimeUnit_lower(_ value: TimeUnit) -> RustBuffer
-
Undocumented
Declaration
Swift
public func FfiConverterTypeUploadResult_lift(_ buf: RustBuffer) throws -> UploadResult
-
Undocumented
Declaration
Swift
public func FfiConverterTypeUploadResult_lower(_ value: UploadResult) -> RustBuffer
-
Undocumented
Declaration
Swift
public func FfiConverterTypeUploadTaskAction_lift(_ buf: RustBuffer) throws -> UploadTaskAction
-
Undocumented
Declaration
Swift
public func FfiConverterTypeUploadTaskAction_lower(_ value: UploadTaskAction) -> RustBuffer
-
Undocumented
Declaration
Swift
public func FfiConverterTypeCowString_lift(_ value: RustBuffer) throws -> CowString
-
Undocumented
Declaration
Swift
public func FfiConverterTypeCowString_lower(_ value: CowString) -> RustBuffer
-
Undocumented
Declaration
Swift
public func FfiConverterTypeJsonValue_lift(_ value: RustBuffer) throws -> JsonValue
-
Undocumented
Declaration
Swift
public func FfiConverterTypeJsonValue_lower(_ value: JsonValue) -> RustBuffer
-
Undocumented
Declaration
Swift
public func gleanApplyServerKnobsConfig(_ json: String)
-
Undocumented
Declaration
Swift
public func gleanEnableLogging()
-
Undocumented
Declaration
Swift
public func gleanEnableLoggingToFd(_ fd: UInt64)
-
Undocumented
Declaration
Swift
public func gleanGetDebugViewTag() -> String?
-
Undocumented
Declaration
Swift
public func gleanGetLogPings() -> Bool
-
Undocumented
Declaration
Swift
public func gleanGetRegisteredPingNames() -> [String]
-
Undocumented
Declaration
Swift
public func gleanGetUploadTask() -> PingUploadTask
-
Undocumented
Declaration
Swift
public func gleanHandleClientActive()
-
Undocumented
Declaration
Swift
public func gleanHandleClientInactive()
-
Undocumented
Declaration
Swift
public func gleanInitialize(_ cfg: InternalConfiguration, _ clientInfo: ClientInfoMetrics, _ callbacks: OnGleanEvents)
-
Undocumented
Declaration
Swift
public func gleanInitializeForSubprocess(_ cfg: InternalConfiguration) -> Bool
-
Undocumented
Declaration
Swift
public func gleanPersistPingLifetimeData()
-
Undocumented
Declaration
Swift
public func gleanProcessPingUploadResponse(_ uuid: String, _ result: UploadResult) -> UploadTaskAction
-
Undocumented
Declaration
Swift
public func gleanRegisterEventListener(_ tag: String, _ listener: GleanEventListener)
-
Undocumented
Declaration
Swift
public func gleanSetDebugViewTag(_ tag: String) -> Bool
-
Undocumented
Declaration
Swift
public func gleanSetDirtyFlag(_ flag: Bool)
-
Undocumented
Declaration
Swift
public func gleanSetExperimentActive(_ experimentId: String, _ branch: String, _ extra: [String : String])
-
Undocumented
Declaration
Swift
public func gleanSetExperimentInactive(_ experimentId: String)
-
Undocumented
Declaration
Swift
public func gleanSetExperimentationId(_ experimentationId: String)
-
Undocumented
Declaration
Swift
public func gleanSetLogPings(_ value: Bool)
-
Undocumented
Declaration
Swift
public func gleanSetSourceTags(_ tags: [String]) -> Bool
-
Undocumented
Declaration
Swift
public func gleanSetTestMode(_ enabled: Bool)
-
Undocumented
Declaration
Swift
public func gleanSetUploadEnabled(_ enabled: Bool)
-
Shuts down Glean in an orderly fashion.
Declaration
Swift
public func gleanShutdown()
-
Undocumented
Declaration
Swift
public func gleanSubmitPingByName(_ pingName: String, _ reason: String? = nil)
-
Undocumented
Declaration
Swift
public func gleanSubmitPingByNameSync(_ pingName: String, _ reason: String? = nil) -> Bool
-
Undocumented
Declaration
Swift
public func gleanTestDestroyGlean(_ clearStores: Bool, _ dataPath: String? = nil)
-
Undocumented
Declaration
Swift
public func gleanTestGetExperimentData(_ experimentId: String) -> RecordedExperiment?
-
Undocumented
Declaration
Swift
public func gleanTestGetExperimentationId() -> String?
-
Undocumented
Declaration
Swift
public func gleanUnregisterEventListener(_ tag: String)