MTData

public struct MTData : Codable

Object sent together with MTEvent.

  • id

    Unique id.

    Declaration

    Swift

    public var id: String?
  • Coordinate of the event tap.

    Declaration

    Swift

    public var coordinate: CLLocationCoordinate2D?
  • Point of the event tap.

    Declaration

    Swift

    public var point: MTPoint?
  • Type of the event.

    Declaration

    Swift

    public var dataType: String?
  • Boolean indicating if source is fully loaded.

    Declaration

    Swift

    public var isSourceLoaded: Bool?
  • Source data.

    Declaration

    Swift

    public var source: MTSourceData?
  • Type of the source data.

    Declaration

    Swift

    public var sourceDataType: String?
  • Initialiaes the data from decoder.

    Declaration

    Swift

    public init(from decoder: any Decoder) throws