GMSPlaceLikelihoodList Class Reference

GMSPlaceLikelihoodList Class Reference

Overview

Represents a list of places with an associated likelihood for the place being the correct place.

For example, the Places service may be uncertain what the true Place is, but think it 55% likely to be PlaceA, and 35% likely to be PlaceB. The corresponding likelihood list has two members, one with likelihood 0.55 and the other with likelihood 0.35. The likelihoods are not guaranteed to be correct, and in a given place likelihood list they may not sum to 1.0.

Properties

NSArray< GMSPlaceLikelihood * > * likelihoods
 An array of likelihoods, sorted in descending order.
NSAttributedString * attributions
 The data provider attribution strings for the likelihood list.

Property Documentation

- (NSArray<GMSPlaceLikelihood *>*) likelihoods [read, write, copy]

An array of likelihoods, sorted in descending order.

- (NSAttributedString*) attributions [read, copy]

The data provider attribution strings for the likelihood list.

These are provided as a NSAttributedString, which may contain hyperlinks to the website of each provider.

In general, these must be shown to the user if data from this likelihood list is shown, as described in the Places SDK Terms of Service.

Send feedback about...