Contents

DataDetector.Match.SemanticDetails.PostalAddress

A match that the data detector determines represents a postal address.

Declaration

struct PostalAddress

Discussion

The data detector attempts to populate as much of the postal address as possible. The properties the detector supports include:

  • fullAddress contains the full string of the address and may contain more than just the sum of the individual components.

  • street may contain the street component of the address.

  • city may contain the city component of the address.

  • state may contain the state component of the address.

  • postalCode may contain the postal code component of the address.

  • region may contain the region component of the address, for example, United States or France.

  • regionCode may contain the ISO region code of the address.

  • label may contain a value suitable to populate a label when creating a contact.

Topics

Properties that detail parts of a postal address