GooglePlaces Framework Reference

  • The GMSPlaceLocationBias protocol is used to specify a location as a search bias.

  • This protocol provides a method, locationBiasURLQueryItem, that returns the location bias as a NSURLQueryItem for use in URL requests.

GMSPlaceLocationBias

@protocol GMSPlaceLocationBias <NSObject, NSCopying>

Protocol for specifying that the location can be used as search bias.

  • Returns the location bias as NSURLQueryItem.

    Declaration

    Swift

    func locationBiasURLQueryItem() -> URLQueryItem

    Objective-C

    - (nonnull NSURLQueryItem *)locationBiasURLQueryItem;