# FSQPVisit

Everything Pilgrim knows about a user’s location, including raw data and a probable venue.

- `arrivalDate`
  
  The date and time when the user arrived at this location. This will be nil if the arrival date isn’t available.

#### Declaration

- `arrivalLocation`
  
  The location of the arrival. This will be nil if arrival information isn’t available.

#### Declaration

- `departureDate`
  
  The date and time when the user departed this location. This will be nil if the user has not yet left.

#### Declaration

- `departureLocation`
  
  The location of the departure (that is, the location where the user was no longer considered to be at the place). This will be nil if the user has not yet left.

#### Declaration

- `hasDeparted`
  
  YES if the visit was triggered by a departure, NO if the visit is an arrival.

#### Declaration

- `locationType`
  
  What type of location the user is at, i.e. home, work, or a Foursquare Venue.

#### Declaration

- `confidence`
  
  How certain we are of the user’s location context on a relative scale.

#### Declaration

- `confidenceString`
  
  String representation of confidence.

#### Declaration

- `+confidenceStringForValue:`
  
  String representation of confidence utility function.

#### Declaration

- `venue`
  
  The most likely Foursquare venue associated with the location. Will be nil if the user is at home or work.

#### Declaration

- `otherPossibleVenues`
  
  An array of other possible venues the user can be stopped at.

#### Declaration

- `segments`
  
  For applications utilizing User Segments, returns a list of segment categories that categorize the user based on locations they’ve visited.

#### Declaration

- `displayName`
  
  The display name for the visit.

#### Declaration

- `pilgrimVisitId`
  
  The pilgrim identifier for this visit.

#### Declaration

- `-init`
  
  Unavailable.

#### Declaration

### Model

- `-initFromModel:`
  
  Internal use only.

#### Declaration
