# SearchInAppsSDK Framework Reference

# LocationSuggestionsContext


    @interface LocationSuggestionsContext : NSObject

Context used for location-based search suggestions.
- `


  ### [latitude](https://developers.google.com/search-in-apps/ios/reference/api/objc_reference/Classes/LocationSuggestionsContext#/c:@M@SearchInAppsSDK@objc(cs)LocationSuggestionsContext(py)latitude)


  ` Latitude in degrees. Must be in the range \[-90.0, +90.0\].

  #### Declaration

  Objective-C

      @property (nonatomic) double latitude;

- `


  ### [longitude](https://developers.google.com/search-in-apps/ios/reference/api/objc_reference/Classes/LocationSuggestionsContext#/c:@M@SearchInAppsSDK@objc(cs)LocationSuggestionsContext(py)longitude)


  ` Longitude in degrees. Must be in the range \[-180.0, +180.0\].

  #### Declaration

  Objective-C

      @property (nonatomic) double longitude;

- `


  ### [radiusMeters](https://developers.google.com/search-in-apps/ios/reference/api/objc_reference/Classes/LocationSuggestionsContext#/c:@M@SearchInAppsSDK@objc(cs)LocationSuggestionsContext(py)radiusMeters)


  ` The radius around lat-lng in meters.

  #### Declaration

  Objective-C

      @property (nonatomic, strong) NSNumber *_Nullable radiusMeters;

- `


  ### [startTime](https://developers.google.com/search-in-apps/ios/reference/api/objc_reference/Classes/LocationSuggestionsContext#/c:@M@SearchInAppsSDK@objc(cs)LocationSuggestionsContext(py)startTime)


  ` The start time of the time segment for which the search suggestions should apply.

  #### Declaration

  Objective-C

      @property (nonatomic, copy) NSDate *_Nullable startTime;

- `


  ### [geoTypes](https://developers.google.com/search-in-apps/ios/reference/api/objc_reference/Classes/LocationSuggestionsContext#/c:@M@SearchInAppsSDK@objc(cs)LocationSuggestionsContext(py)geoTypes)


  ` The requested Geo types. The supported types are:
  - Food and Drink Geo types - 'restaurant', 'cafe', 'bar'
  - Leisure Geo types - 'park', 'zoo', 'museum', 'attraction'
  - Services Geo types - 'atm', 'bank', 'hair_salon', 'real_estate_agency'
  - Transportation Geo types - 'bicycle_sharing_location', 'car_rental_agency'
  - Shopping Geo types - 'shopping_center', 'grocery_store'
  - Lodging Geo types - 'hotel'

  #### Declaration

  Objective-C

      @property (nonatomic, copy) NSArray<NSString *> *_Nullable geoTypes;

- `


  ### [-init](https://developers.google.com/search-in-apps/ios/reference/api/objc_reference/Classes/LocationSuggestionsContext#/c:@M@SearchInAppsSDK@objc(cs)LocationSuggestionsContext(im)init)


  ` Undocumented

  #### Declaration

  Objective-C

      - (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;