PingType

open class PingType:
    PingTypeProtocol

Undocumented

  • Used to instantiate a [FFIObject] without an actual pointer, for fakes in tests, mostly.

    See more

    Declaration

    Swift

    public struct NoPointer
  • Undocumented

    Declaration

    Swift

    required public init(unsafeFromRawPointer pointer: UnsafeMutableRawPointer)
  • This constructor can be used to instantiate a fake object.

    Warning

    Any object instantiated with this constructor cannot be passed to an actual Rust-backed object. Since there isn’t a backing [Pointer] the FFI lower functions will crash.

    Declaration

    Swift

    public init(noPointer: NoPointer)

    Parameters

    noPointer

    Placeholder value so we can have a constructor separate from the default empty one that may be implemented for classes extending [FFIObject].

  • Undocumented

    Declaration

    Swift

    public func uniffiClonePointer() -> UnsafeMutableRawPointer
  • Undocumented

    Declaration

    Swift

    public convenience init(_ name: String, _ includeClientId: Bool, _ sendIfEmpty: Bool, _ preciseTimestamps: Bool, _ includeInfoSections: Bool, _ enabled: Bool, _ schedulesPings: [String], _ reasonCodes: [String])
  • Undocumented

    Declaration

    Swift

    open func submit(_ reason: String? = nil)