AdditionalData

@objcMembers
public class AdditionalData : Decodable

AdditionalData

Important

This is a Public Preview API. It may be changed or removed at any time.

Lifecycle

  • Create a new AdditionalData

    Declaration

    Swift

    public init(providerID: String, error: String?, geometryData: GeometryData?)

    Parameters

    providerID

    ID of the returned entity.

    error

    Reason for the failure to obtain data for this provider.

    geometryData

    Geometry data. Only present if there is no error.

Public

  • ID of the returned entity.

    Declaration

    Swift

    public let providerID: String
  • Reason for the failure to obtain data for this provider.

    Declaration

    Swift

    public let error: String?
  • Geometry data. Only present if there is no error.

    Declaration

    Swift

    public let geometryData: GeometryData?