ContextMetadataItem

public enum ContextMetadataItem: Encodable

Meta Data information tagged with representation type.

  • The information is free text

    Declaration

    Swift

    case text(value: String, title: String)
  • The information is a URL link

    Declaration

    Swift

    case link(value: URL, title: String)
  • The information is a Phone Number

    Declaration

    Swift

    case phoneNumber(value: String, title: String)
  • The information is an E-Mail address

    Declaration

    Swift

    case email(value: String, title: String)
  • The information is a geolocation

    Declaration

    Swift

    case location(value: CLLocation, title: String)
  • String representation of the Metadata type.

    Declaration

    Swift

    public var type: String
  • Declaration

    Swift

    public func encode(to encoder: Encoder) throws