Type

public enum PersonalLocation.`Type`

Type of a personal location.

Important

This is a Public Preview API. It may be changed or removed at any time.
  • Type of a personal location that represents the user’s home location.

    Note

    this type is unique and could be attached to only one personal location.

    Declaration

    Swift

    case home
  • Type of a personal location that represents the user’s work location.

    Note

    this type is unique and could be attached to only one personal location.

    Declaration

    Swift

    case work
  • Type of a personal location that represents a user’s favorite location.

    Note

    this type is not unique and could be attached to any personal location.

    Declaration

    Swift

    case favorite
  • Type of a personal location that represents a user’s recent destination.

    Note

    personal locations of this type should have non-nil lastVisit.

    Note

    this type is not unique and could be attached to any personal location.

    Declaration

    Swift

    case recent